Skip to content

Commit

Permalink
Merge pull request #27 from guardian/fix-preview-version-text-for-sbt…
Browse files Browse the repository at this point in the history
…-release

Remove underscores from PREVIEW version-numbers, complying with SemVer and fixing for `sbt-release`
  • Loading branch information
rtyley authored Feb 21, 2024
2 parents 26b2cde + ea90066 commit a7ab2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
version_suffix=""
else
release_type="PREVIEW_FEATURE_BRANCH"
version_suffix="-PREVIEW.${GITHUB_REF_NAME//[^[:alnum:]-_]/}.$(date +%Y-%m-%dT%H%M).${GITHUB_SHA:0:8}"
version_suffix="-PREVIEW.${GITHUB_REF_NAME//[^[:alnum:]-]/}.$(date +%Y-%m-%dT%H%M).${GITHUB_SHA:0:8}"
fi
echo "current branch: $GITHUB_REF_NAME, release_type: $release_type, version_suffix: $version_suffix"
cat << EndOfFile >> $GITHUB_OUTPUT
Expand Down

0 comments on commit a7ab2ae

Please sign in to comment.