Skip to content

Commit

Permalink
chore: tweak tag
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Mar 31, 2023
1 parent 789adf2 commit 8d1f2d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# check if last commit to main would be the nightly tag we're about to create (minus the date)
# if it is, we'll skip the nightly creation
# if not, we'll create a new nightly tag
if [[ ${LATEST_NIGHTLY_TAG} == v0.0.0-nightly-${SHORT_SHA}-* ]]; then
if [[ ${LATEST_NIGHTLY_TAG} == v0.0.0-nightly-${SHORT_SHA} ]]; then
echo "🛑 Latest nightly tag is the same as the latest commit sha, skipping nightly release"
else
# v0.0.0-nightly-<short sha>-<date>
Expand Down Expand Up @@ -82,4 +82,4 @@ jobs:
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.version.outputs.NEXT_VERSION }}
custom_tag: '0.0.0-${{ steps.version.outputs.NEXT_VERSION }}'

0 comments on commit 8d1f2d4

Please sign in to comment.