-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
166f2d0
commit 50fb7f4
Showing
3 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,25 +3,33 @@ on: | |
tags: | ||
- 'v[0-9]+.[0-9]+.[0-9]+' | ||
|
||
name: Release | ||
|
||
jobs: | ||
release: | ||
name: SemVer release | ||
name: Perform release | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
- run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git config --global user.email [email protected] | ||
git config --global user.name github-actions | ||
|
||
- name: Cocogitto release | ||
id: release | ||
uses: cocogitto/cocogitto-action@v3 | ||
with: | ||
release: true | ||
git-user: 'Cog Bot' | ||
git-user-email: '[email protected]' | ||
check-latest-tag-only: true | ||
tag_prefix: 'v' | ||
|
||
- name: Generate Changelog | ||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md | ||
|
||
- name: Upload github release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
body_path: CHANGELOG.md | ||
body_path: GITHUB_CHANGELOG.md | ||
tag_name: ${{ steps.release.outputs.version }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters