2024-01-27 22:58:03 -05:00
|
|
|
name: Bump release version
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches: [rolling]
|
|
|
|
types:
|
|
|
|
- closed
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
concurrency: production
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Create Release
|
|
|
|
if: github.event.pull_request.merged == true
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2024-01-28 02:13:45 -05:00
|
|
|
- name: 'Automated Version Bump'
|
|
|
|
id: version-bump
|
2024-01-28 02:27:59 -05:00
|
|
|
uses: anothrNick/github-tag-action@1.36.0
|
2024-01-28 02:13:45 -05:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2024-01-28 02:27:59 -05:00
|
|
|
WITH_V: true
|
|
|
|
DEFAULT_BUMP: patch
|
2024-01-28 02:13:45 -05:00
|
|
|
- name: Changelog
|
|
|
|
uses: scottbrenner/generate-changelog-action@master
|
|
|
|
id: Changelog
|
|
|
|
env:
|
|
|
|
REPO: ${{ github.repository }}
|
|
|
|
- name: Create Release
|
|
|
|
id: create_release
|
|
|
|
uses: actions/create-release@latest
|
|
|
|
env:
|
2024-01-27 22:58:03 -05:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2024-01-28 02:40:14 -05:00
|
|
|
PRERELEASE: false
|
2024-01-28 02:37:19 -05:00
|
|
|
RELEASE_BRANCHES: rolling,stable
|
2024-01-28 02:43:51 -05:00
|
|
|
PRERELEASE_SUFFIX: ''
|
2024-01-28 02:13:45 -05:00
|
|
|
with:
|
2024-01-28 02:27:59 -05:00
|
|
|
tag_name: ${{ steps.version-bump.outputs.new_tag }}
|
|
|
|
release_name: ${{ steps.version-bump.outputs.new_tag }}
|
2024-01-28 02:13:45 -05:00
|
|
|
body: |
|
|
|
|
${{ steps.Changelog.outputs.changelog }}
|
2024-01-28 02:37:19 -05:00
|
|
|
|
2024-01-28 02:13:45 -05:00
|
|
|
draft: false
|
|
|
|
prerelease: false
|
2024-01-28 00:27:44 -05:00
|
|
|
|