Skip to content

Commit

Permalink
feat: add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
chansee97 committed Apr 22, 2024
1 parent 4d27fe7 commit d57c9c5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

permissions:
contents: write

on:
push:
tags:
- 'v*'

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: npx changelogithub # or [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nova-admin",
"type": "module",
"version": "0.1.0",
"version": "0.9.0",
"private": true,
"description": "",
"author": {
Expand Down

0 comments on commit d57c9c5

Please sign in to comment.