Skip to content

Commit

Permalink
Fixed release script. Was marking prerelease on stable releases and v…
Browse files Browse the repository at this point in the history
…ice versa.
  • Loading branch information
shannah committed Jan 14, 2022
1 parent 48a7adb commit 3a318bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mvn clean package
#Next build the installer because we need to sign it and bundle it
cd ../installer
mvn clean package
if [ "$GITHUB_REF_TYPE" != "tag" ] || ! [[ "$GITHUB_REF_NAME" =~ "-alpha" ]]; then
if [ "$GITHUB_REF_TYPE" != "tag" ] || [[ "$GITHUB_REF_NAME" =~ "-alpha" ]]; then
# IF this is not a tag, or it is a tagged prerelease, then we'll mark the installer as
# a prerelease installer so that it gets the latest installer - even prerelease.
JDEPLOY_BUNDLE_PRERELEASE=true java -jar "$JDEPLOY" clean package
Expand Down

0 comments on commit 3a318bf

Please sign in to comment.