Skip to content

Automatically tag releases (#11) #1

Automatically tag releases (#11)

Automatically tag releases (#11) #1

Workflow file for this run

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