forked from autowarefoundation/autoware-github-actions
-
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.
ci: add GitHub release workflow (#38)
* chore: update cliff.toml Signed-off-by: Kenji Miyake <[email protected]> * ci: add GitHub release workflow Signed-off-by: Kenji Miyake <[email protected]>
- Loading branch information
1 parent
845e700
commit 349f213
Showing
2 changed files
with
36 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: github-release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
|
||
jobs: | ||
github-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run generate-changelog | ||
id: generate-changelog | ||
uses: autowarefoundation/autoware-github-actions/generate-changelog@tier4/proposal | ||
|
||
- name: Release to GitHub | ||
run: | | ||
echo "Release ${{ github.ref_name }}" | ||
gh release create "${{ github.ref_name }}" \ | ||
--draft \ | ||
--notes "${{ steps.generate-changelog.outputs.changelog }}" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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