Skip to content

Commit

Permalink
include "v" in semantic versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Jan 31, 2025
1 parent b332d4b commit 6833de0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,28 @@ jobs:
if [ $IS_NIGHTLY == "true" ]; then
if [ "${{inputs.tag}}" ]; then
TAG="${{ inputs.tag }}"
VERSION="${TAG#foundry-zksync-v}"
VERSION="${TAG#foundry-zksync-}"
else
TAG="${{ format('nightly-{0}', github.sha) }}"
VERSION=nightly
fi
echo "tag_name=${TAG}" >> $GITHUB_OUTPUT
echo "version_name=v${VERSION}" >> $GITHUB_OUTPUT
echo "version_name=${VERSION}" >> $GITHUB_OUTPUT
echo "release_name=foundry-zksync Nightly ($(date '+%Y-%m-%d'))" >> $GITHUB_OUTPUT
echo "prerelease=true" >> $GITHUB_OUTPUT
else
if [ "${{inputs.tag}}" ]; then
TAG="${{ inputs.tag }}"
VERSION="${TAG#foundry-zksync-v}"
VERSION="${TAG#foundry-zksync-}"
else
TAG="${{ format('stable-{0}', github.sha) }}"
VERSION=stable
fi
echo "tag_name=${TAG}" >> $GITHUB_OUTPUT
echo "version_name=v${VERSION}" >> $GITHUB_OUTPUT
echo "release_name=foundry-zksync v${VERSION}" >> $GITHUB_OUTPUT
echo "version_name=${VERSION}" >> $GITHUB_OUTPUT
echo "release_name=foundry-zksync ${VERSION}" >> $GITHUB_OUTPUT
echo "prerelease=false" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 6833de0

Please sign in to comment.