Skip to content

Tag release

Tag release #9

Workflow file for this run

name: "Tag release"
on:
workflow_dispatch:
inputs:
version:
description: "Version to bump to, example: v1.5.2"
required: true
jobs:
tag-release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
with:
fetch-depth: 0
ref: master
- name: Tag release
run: |
git config user.email "${{github.repository_owner}}@users.noreply.github.com"
git config user.name "${{github.repository_owner}}"
git tag -a ${{ github.event.inputs.version }} -m "tag release ${{ github.event.inputs.version }}"
git push --follow-tags
call-gorelease:
needs: tag-release
uses: ./.github/workflows/_gorelease.yml
call-buildx:
needs: call-gorelease
uses: ./.github/workflows/_buildx.yml