docs: improve github release description test

This commit is contained in:
travisladuke
2024-04-19 13:12:09 -07:00
parent 614453e6d1
commit 749ff296aa
2 changed files with 6 additions and 4 deletions
+6 -1
View File
@@ -44,7 +44,12 @@ jobs:
- name: 'git config'
run: git config --global user.email "wrankles@zerotier.com" && git config --global user.name "wrankles"
- name: 'Bump Version'
run: npx release-it --ci -VV --no-github.release ${{ github.event.inputs.newversion }} --template keepachangelog
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
- name: 'Create Release'
run: npm run release -- ${{ github.event.inputs.newversion }}
run: npx release-it --ci -VV --no-increment --no-git --template compact
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
-3
View File
@@ -6,9 +6,6 @@
"release": true,
"assets": ["tsp-output/@typespec/openapi3/openapi.yaml","tsp-output/@typespec/json-schema/json-schema.json"],
"releaseNotes": "npx auto-changelog -p --commit-limit=false --stdout -u --template https://raw.githubusercontent.com/release-it/release-it/679bd0e2480d2e04aea4f8d5ecc00183dbd60c05/templates/keepachangelog.hbs --starting-version=${latestTag} --ending-version=${tagName}"
},
"git": {
"changelog": "npx auto-changelog -p --stdout --commit-limit=false -u --template https://raw.githubusercontent.com/release-it/release-it/679bd0e2480d2e04aea4f8d5ecc00183dbd60c05/templates/keepachangelog.hbs"
},
"hooks": {
"after:bump": ["npm run build", "npx auto-changelog -p"]