Skip to content

[Automation] Bump Golang version to 1.21.2 (#322) #25

[Automation] Bump Golang version to 1.21.2 (#322)

[Automation] Bump Golang version to 1.21.2 (#322) #25

Workflow file for this run

name: Release Drafter
on:
push:
tags:
- v*.*
permissions:
contents: read
jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: version
id: version
run: |
tag=${GITHUB_REF/refs\/tags\//}
version=${tag#v}
echo "::set-output name=version::${version}"
- uses: release-drafter/release-drafter@v5
with:
version: ${{ steps.version.outputs.version }}
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}