Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 8ab7ca8

Browse files
author
Ryan Faircloth
authored
fix: bash syntax
1 parent edd7625 commit 8ab7ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ BETA_REGEX='^v[0-9]+\.[0-9]+\.[0-9]+-beta\.[0-9]+$'
2020
echo working with version $INPUT_SEMVER
2121

2222
if [[ $INPUT_SEMVER =~ $SEMVER_REGEX ]];
23-
2423
then
2524
echo using provided semver
2625
VERSION=$INPUT_SEMVER
2726
elif [[ $INPUT_SEMVER =~ $BETA_REGEX ]];
27+
then
2828
VERSION=$(echo $INPUT_SEMVER | awk '{gsub("-beta\.", "B");print}')
2929
else
3030
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];

0 commit comments

Comments
 (0)