Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: release artifact names and tags #866

Merged
merged 20 commits into from
Jan 24, 2025
Merged
Prev Previous commit
Next Next commit
fix script
  • Loading branch information
nbaztec committed Jan 24, 2025
commit 2202de29092bd70df30b334a469b660621002060
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,22 @@ jobs:
- name: Compute release name and tag
id: release_info
run: |
echo "nightly? $IS_NIGHTLY"
echo "nightly: $IS_NIGHTLY"
if [ $IS_NIGHTLY == "true" ]; then
TAG=${{ inputs.tag || format('nightly-{0}', github.sha) }}
VERSION=${{ inputs.version || 'nightly' }}
TAG="${{ inputs.tag || format('nightly-{0}', github.sha) }}"
VERSION="${{ inputs.version || 'nightly' }}"

echo "tag_name=${TAG}" >> $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
TAG=${{ inputs.tag || format('stable-{0}', github.sha) }}
VERSION=${{ inputs.version || 'stable' }}
TAG="${{ inputs.tag || format('stable-{0}', github.sha) }}"
VERSION="${{ inputs.version || 'stable' }}"

echo "tag_name=${TAG}" >> $GITHUB_OUTPUT
echo "version_name=v${VERSION}" >> $GITHUB_OUTPUT
echo "release_name=foundry-zksync ${VERSION} >> $GITHUB_OUTPUT
echo "release_name=foundry-zksync ${VERSION}" >> $GITHUB_OUTPUT
echo "prerelease=false" >> $GITHUB_OUTPUT
fi

Expand Down
Loading