Skip to content

Commit

Permalink
🤖 only tag on push to main
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbit committed Aug 12, 2023
1 parent 5f765b7 commit 69c5ed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
# via https://github.com/softprops/action-gh-release/issues/270
- name: Create tag
id: tag
if: ${{ github.ref == 'refs/heads/main' }}
run: |
TAG=v0.0.0+$(date -Iseconds | sed 's/[-T:\+]//g')
echo "$TAG"
Expand Down

0 comments on commit 69c5ed1

Please sign in to comment.