Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pnwpedro committed Mar 21, 2024
1 parent f7f76f7 commit 6b2890a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions concourse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ jobs:
input_mapping: {repo.git: beta.git}
params:
NPM_TOKEN: ((npm_token))
NPM_PUBLISH_ARGS: --tag beta
on_success:
put: notify
params:
Expand Down
2 changes: 1 addition & 1 deletion concourse/scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ then

echo "Publishing a new version..."
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm publish
npm publish $NPM_PUBLISH_ARGS
rm .npmrc

echo "fauna-js@$PACKAGE_VERSION published to npm <!subteam^S0562QFL21M>" > ../slack-message/publish
Expand Down
1 change: 1 addition & 0 deletions concourse/tasks/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ image_resource:

params:
NPM_TOKEN:
NPM_PUBLISH_ARGS:

inputs:
- name: repo.git
Expand Down

0 comments on commit 6b2890a

Please sign in to comment.