Skip to content

Commit

Permalink
fix release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbgt committed Dec 13, 2024
1 parent 7335379 commit 49735f4
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
- name: Install dependencies
run: npm install

- name: Build the cli
run: npm run build

- name: Login with git
run: |
git config --global user.email "info@nanoapi.io"
Expand Down
65 changes: 64 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nanoapi.io/napi",
"version": "0.0.23",
"version": "0.0.22",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,9 +22,17 @@
"allowSameVersion": true
},
"plugins": {
"@release-it/bumper": {
"in": "package.json",
"out": "package.json"
},
"@release-it/keep-a-changelog": {
"filename": "CHANGELOG.md"
"filename": "CHANGELOG.md",
"addUnreleased": true
}
},
"hooks": {
"after:bump": "npm run build"
}
},
"scripts": {
Expand All @@ -36,6 +44,7 @@
"release": "npx release-it"
},
"devDependencies": {
"@release-it/bumper": "^6.0.1",
"@release-it/keep-a-changelog": "^5.0.0",
"@types/express": "^5.0.0",
"@types/node": "^18.19.54",
Expand Down

0 comments on commit 49735f4

Please sign in to comment.