File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 51
51
- name : npm publish (dry-run=${{ env.DRY_RUN }})
52
52
run : |
53
53
[ "${{ env.DRY_RUN }}" == "true" ] && PUBLISH_FLAGS="--dry-run" || PUBLISH_FLAGS=""
54
- echo " npm publish $PUBLISH_FLAGS --otp=${{ env.TOTP_CODE }}"
54
+ npm publish $PUBLISH_FLAGS --otp=${{ env.TOTP_CODE }}
55
55
env :
56
56
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
57
57
NODE_AUTH_TOKEN : ${{ env.NPMJS_TOKEN }}
Original file line number Diff line number Diff line change 74
74
fi
75
75
76
76
echo
77
- echo " INFO: Creating '$PKG_NAME $TAG_NAME ' GitHub release (latest=$IS_LATEST )"
77
+ echo " INFO: Creating '$PKG_NAME $TAG_NAME ' GitHub release (latest=$IS_LATEST , dry-run= ${DRY_RUN} )"
78
78
if [ " ${DRY_RUN} " == " false" ] ; then
79
- echo " RUN gh release create $TAG_NAME "
80
- exit 0
81
79
gh release create " $TAG_NAME " \
82
80
--title " $PKG_NAME $PKG_VER " \
83
81
--notes-file build/release-notes.md \
You can’t perform that action at this time.
0 commit comments