Skip to content

Commit

Permalink
Merge pull request #16 from simonsobs:actions
Browse files Browse the repository at this point in the history
generate a release note on release
  • Loading branch information
TaiSakuma authored Oct 19, 2023
2 parents 86d0233 + 7124a01 commit a8e16a3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
categories:
- title: Changes 🚀
labels:
- "*"
21 changes: 16 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,26 @@ name: Release a new version
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"

jobs:
deploy:

runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Release
uses: softprops/action-gh-release@v1
uses: actions/checkout@v3
- name: Install gh CLI
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Create Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${GITHUB_REF#refs/tags/} \
--generate-notes
- name: Tag latest
uses: EndBug/latest-tag@v1

0 comments on commit a8e16a3

Please sign in to comment.