Skip to content

tag only

tag only #23

Workflow file for this run

name: Release
on:
workflow_dispatch:
workflow_call:
push:
branches:
- tag-release
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Tag versions
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/googleapis/release-please-action.git"
git tag -d v1 || true
git tag -d v1.0 || true
git push origin :v1 || true
git push origin :v1.0 || true
git tag -a v1 -m "Release v1"
git tag -a v1.0 -m "Release v1.0"
git push origin v1
git push origin v1.0