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

Commit

Permalink
fix: spl compatible beta versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth committed Sep 7, 2021
1 parent 511a966 commit a556ab0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,5 @@ else
fi
fi

if [[ $VERSION =~ $SEMVER_REGEX ]];
then
FINALVERSION=$(echo $VERSION | sed 's/v\(.*\)/\1/')
echo "Version to build is $FINALVERSION"
echo "::set-output name=VERSION::$FINALVERSION"
exit 0
else
exit 1
fi
echo "Version to build is $VERSION"
echo "::set-output name=VERSION::$VERSION"

0 comments on commit a556ab0

Please sign in to comment.