Skip to content

Commit

Permalink
fix .npmrc dir
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy committed Nov 21, 2024
1 parent b7ea09c commit 5469bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l1-contracts/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ publish-npm:
ARG VERSION
ARG DIST_TAG
ARG DRY_RUN=0
RUN --secret NPM_TOKEN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > /usr/src/barretenberg/ts/.npmrc
WORKDIR /usr/src/l1-contracts
RUN --secret NPM_TOKEN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
RUN jq --arg v $VERSION '.version = $v' package.json > _tmp.json && mv _tmp.json package.json
RUN if [ "$DRY_RUN" = "1" ]; then \
npm publish --tag $DIST_TAG --access public --dry-run; \
Expand Down

0 comments on commit 5469bcf

Please sign in to comment.