mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-28 07:18:22 -05:00
Merge pull request #11 from scottc943/FEATURE/400_GitHubActions-automate-release-versions
ci: #minor change - removed older release action for a better up to d…
This commit is contained in:
commit
36fbe733bd
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
@ -26,25 +26,22 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
WITH_V: true
|
WITH_V: true
|
||||||
DEFAULT_BUMP: patch
|
DEFAULT_BUMP: patch
|
||||||
|
PRERELEASE: false
|
||||||
|
DEFAULT_BRANCH: rolling
|
||||||
- name: Changelog
|
- name: Changelog
|
||||||
uses: scottbrenner/generate-changelog-action@master
|
uses: scottbrenner/generate-changelog-action@master
|
||||||
id: Changelog
|
id: Changelog
|
||||||
env:
|
env:
|
||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
uses: softprops/action-gh-release@v1
|
||||||
uses: actions/create-release@latest
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
PRERELEASE: false
|
|
||||||
RELEASE_BRANCHES: rolling,stable
|
|
||||||
PRERELEASE_SUFFIX: ''
|
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
generate_release_notes: true
|
||||||
|
name: ${{ steps.version-bump.outputs.new_tag }}
|
||||||
tag_name: ${{ steps.version-bump.outputs.new_tag }}
|
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
|
prerelease: false
|
||||||
|
env:
|
||||||
|
GITHUB_REPOSITORY: my_gh_org/my_gh_repo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user