Skip to content

Commit

Permalink
🔧 Chore: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Apr 25, 2024
1 parent f4e8bab commit d0cb7d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .auto-changelog/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"template": ".auto-changelog/template.hbs",
"handlebarsSetup": ".auto-changelog/setup.js",
"sortCommits": "relevance",
"package": true,
"unreleased": true,
"commitLimit": false,
"unreleasedOnly": true,
"replaceText": {
"#(\\d+)": "[#$1](https://github.com/hugo-fixit/FixIt/issues/$1)",
"^(Feat|feat):": ":sparkles: Feat:",
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for generating release notes

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -33,7 +35,7 @@ jobs:
- name: Install dependencies and generate release notes
run: |
npm install
npm run release
npm run release -- --starting-version ${{ github.ref_name }}
- name: GitHub Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit d0cb7d1

Please sign in to comment.