Skip to content

Commit

Permalink
ci: support automatically creating github release (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: xiaoweii <[email protected]>
  • Loading branch information
zhu-xiaowei and xiaoweii authored Sep 18, 2023
1 parent b20086b commit d559234
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
changelog:
categories:
- title: Feature
labels:
- enhancement
- title: Fix
labels:
- bug
- title: Other Changes
labels:
- "*"
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ jobs:
git add .
git commit -m 'release: clickstream Swift ${{ env.NEW_VERSION }}'
git push
git tag ${{ env.NEW_VERSION }}
git push origin ${{ env.NEW_VERSION }}
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
name: "Clickstream Swift ${{ env.NEW_VERSION }}"
tag_name: "${{ env.NEW_VERSION }}"
prerelease: true
generate_release_notes: true

0 comments on commit d559234

Please sign in to comment.