Skip to content
Closed
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
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
needs: [build-windows, build-linux, build-mac]
permissions:
id-token: write # Required for OIDC trusted publishing
contents: write # Required for committing package.json changes
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -128,9 +131,9 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Update package.json version to ${{ steps.tag-version.outputs.TAG_VERSION }}'
add: 'package.json'
message: "Update package.json version to ${{ steps.tag-version.outputs.TAG_VERSION }}"
add: "package.json"

- run: npm ci

- name: Determine npm tag for pre-releases
Expand All @@ -144,6 +147,4 @@ jobs:
echo "tag=${NPM_TAG}" >> $GITHUB_OUTPUT
echo "npm tag: ${NPM_TAG}"

- run: npm publish --tag ${{ steps.npm_tag.outputs.tag }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm publish --provenance --tag ${{ steps.npm_tag.outputs.tag }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hookdeck-cli",
"version": "1.4.0",
"version": "1.4.0-alpha.1",
"description": "Hookdeck CLI",
"repository": {
"type": "git",
Expand Down