diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..72cc91e --- /dev/null +++ b/.github/workflows/release.yaml @@ -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