Add handler for fixed releases on setup-release.

This commit is contained in:
Buster Neece 2023-09-03 13:05:47 -05:00
parent 6846da1d7b
commit 1e6306be78
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -245,6 +245,10 @@ setup-release() {
if ask "Your current release channel is 'Stable'. Switch to 'Rolling Release' release channel?" N; then
AZURACAST_VERSION="latest"
fi
else
if ask "Your current release channel is locked to a stable release, version '${OLD_RELEASE_CHANNEL}'. Switch to the 'Stable' release channel?" N; then
AZURACAST_VERSION="stable"
fi
fi
.env --file .env set AZURACAST_VERSION=${AZURACAST_VERSION}