We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd7625 commit 8ab7ca8Copy full SHA for 8ab7ca8
1 file changed
entrypoint.sh
@@ -20,11 +20,11 @@ BETA_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+$'
20
echo working with version $INPUT_SEMVER
21
22
if [[ $INPUT_SEMVER =~ $SEMVER_REGEX ]];
23
-
24
then
25
echo using provided semver
26
VERSION=$INPUT_SEMVER
27
elif [[ $INPUT_SEMVER =~ $BETA_REGEX ]];
+then
28
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "B");print}')
29
else
30
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];
0 commit comments