0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 22:18:23 -05:00
websurfx/.github/workflows/release.yml

51 lines
1.3 KiB
YAML
Raw Normal View History

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
- name: 'Automated Version Bump'
id: version-bump
2024-01-28 02:27:59 -05:00
uses: anothrNick/github-tag-action@1.36.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2024-01-28 02:27:59 -05:00
WITH_V: true
DEFAULT_BUMP: patch
- 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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PRERELEASE: false
RELEASE_BRANCHES: rolling,stable
PRERELEASE_SUFFIX: ''
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 }}
body: |
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false