Skip to content

Commit

Permalink
Merge pull request #185 from yourssu/develop
Browse files Browse the repository at this point in the history
chore: 릴리즈 노트 워크플로 작성 (#184)
  • Loading branch information
fecapark authored Jan 31, 2025
2 parents 2380494 + 0438f89 commit f008c87
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/create_release_note.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Create Release Note (main)

on:
push:
branches: ['main']

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create Version Name
uses: martinbeentjes/[email protected]
id: version
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: 20
- name: create tag
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git tag -a -f ${{ steps.version.outputs.current-version }} -m "Release ${{ steps.version.outputs.current-version }}"
git push -f origin ${{ steps.version.outputs.current-version }}
- name: create release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
tag: ${{ steps.version.outputs.current-version }}
name: '@yourssu/design-system-react@${{ steps.version.outputs.current-version }}'
generateReleaseNotes: true
omitBodyDuringUpdate: true

0 comments on commit f008c87

Please sign in to comment.