Skip to content

Commit

Permalink
Automatically tag releases (#11)
Browse files Browse the repository at this point in the history
Co-authored-by: なつき <[email protected]>
  • Loading branch information
nex3 and ntkme authored Jul 29, 2024
1 parent 4563b45 commit af3926f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release

on:
push:
branches: [main]

env:
VERSION: v1

jobs:
tag:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- run: git tag -d $VERSION
- run: git tag $VERSION
- run: git push origin :$VERSION
- run: git push --tag

0 comments on commit af3926f

Please sign in to comment.