Rewrite: ${GITHUB_OUTPUT} -> $GITHUB_OUTPUT.

This commit is contained in:
funilrys 2022-11-08 21:15:28 +01:00
parent 09e71fdeb6
commit 72c4db4553
No known key found for this signature in database
GPG Key ID: 0D8BFEF5515C00C6

View File

@ -41,11 +41,11 @@ jobs:
echo version: $MILESTONE_VERSION
if [[ $MILESTONE_VERSION =~ ^v[0-9]+\.[0-9]+\.0$ ]]; then
echo 'This is NOT a patch release'
echo "is-patch=false" >> ${GITHUB_OUTPUT}
echo "is-patch=false" >> $GITHUB_OUTPUT
elif [[ $MILESTONE_VERSION =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
echo 'This is a patch release'
echo "is-patch=true" >> ${GITHUB_OUTPUT}
echo "is-patch=true" >> $GITHUB_OUTPUT
else
echo "Not a valid format of release, check the Milestone's title."
echo 'Should be vX.Y.Z'