Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_REGISTRY: https://registry.npmjs.org
run: |
VERSION_ARG=""
if [ -n "${{ inputs.version }}" ]; then
Expand All @@ -80,7 +81,7 @@ jobs:
fi
NPM_TAG_ARG="--npm.tag=${NPM_TAG}"

npm run release -- --ci $PREID_ARG $NPM_TAG_ARG $VERSION_ARG
npx release-it --ci $PREID_ARG $NPM_TAG_ARG $VERSION_ARG

- name: Sync main → develop
uses: devmasx/merge-branch@v1.4.0
Expand Down
3 changes: 2 additions & 1 deletion .release-it.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ module.exports = () => {
npm: {
publish: true,
skipChecks: true,
provenance: true,
access: "public",
versionArgs: ["--no-git-tag-version"],
publishArgs: ["--provenance", "--access", "public"],
},

plugins: {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"url": "git+https://github.com/addon-stack/addon-bone.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
"access": "public"
},
"bugs": {
"url": "https://github.com/addon-stack/addon-bone/issues"
Expand Down