Skip to content

Commit 27b414c

Browse files
committed
include --tag flag on publish
Signed-off-by: Brian DeHamer <[email protected]>
1 parent 31b0729 commit 27b414c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-with-provenance.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
check-latest: true
3232
- name: Bump package versions
3333
run: |
34-
sed -i "s/1.0.0/1.0.0-${GITHUB_RUN_ID}.${GITHUB_RUN_ATTEMPT}/" "package.json"
34+
sed -i "s/1.0.0/1.1.0-${GITHUB_RUN_ID}.${GITHUB_RUN_ATTEMPT}/" "package.json"
3535
- name: Publish package
3636
env:
3737
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PRODUCTION }}
3838
run: |
3939
npm install -g npm@${{ github.event.inputs.cli_version }}
4040
npm install
41-
npm publish --provenance --access public
41+
npm publish --provenance --access public --tag 1.1.0-${GITHUB_RUN_ID}.${GITHUB_RUN_ATTEMPT}
4242
- uses: actions/upload-artifact@v3
4343
with:
4444
name: package.tgz

0 commit comments

Comments
 (0)