Skip to content

Commit

Permalink
chore: update release-it config
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo committed Jul 3, 2024
1 parent 2cfb5c1 commit 0c3fd99
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Generate .npmrc
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc

- name: Create Release
run: npm run release
run: npm run release -- --npm.skipCheck
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
}
}
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
# Change Log
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "custom ui5 tooling task",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"local-release": "npx release-it --no-git.requireCleanWorkingDir --no-npm.publish --no-github.release",
"release": "release-it"
},
"repository": {
Expand Down

0 comments on commit 0c3fd99

Please sign in to comment.