Skip to content

Commit 93a28de

Browse files
committed
revert: run without echos
1 parent 50f5226 commit 93a28de

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- name: npm publish (dry-run=${{ env.DRY_RUN }})
5252
run: |
5353
[ "${{ 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 }}
5555
env:
5656
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
5757
NODE_AUTH_TOKEN: ${{ env.NPMJS_TOKEN }}

scripts/github-release.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,8 @@ else
7474
fi
7575

7676
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})"
7878
if [ "${DRY_RUN}" == "false" ] ; then
79-
echo "RUN gh release create $TAG_NAME"
80-
exit 0
8179
gh release create "$TAG_NAME" \
8280
--title "$PKG_NAME $PKG_VER" \
8381
--notes-file build/release-notes.md \

0 commit comments

Comments
 (0)