blob: 583c8f1fd6afb9e56730ce1692d2d111dec81b27 [file] [log] [blame]
name: Create a release branch from release tag
permissions:
contents: write
on:
push:
tags:
- 'v[0-9]+.[0-9]+'
- 'vulkan-sdk-[0-9]+.[0-9]+.[0-9]+.[0-9]+'
- '!v[0-9]+.[0-9]+.rc*'
jobs:
prepare-release-job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Prepare CHANGELOG for version
run: |
python utils/generate_changelog.py CHANGES "${{ github.ref_name }}" VERSION_CHANGELOG
- name: Create release
run: |
gh release create -t "Release ${{ github.ref_name }}" -F VERSION_CHANGELOG "${{ github.ref_name }}"
env:
GITHUB_TOKEN: ${{ github.token }}