From 7d7bb0b02be4c5cb9cae02495158148c17c819b0 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Apr 2024 09:13:47 +0200 Subject: [PATCH] chore: for testing purposes --- .github/workflows/release.yml | 2 +- scripts/github-release.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c091bf99..8da5f73d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: run: | PUBLISH_FLAGS="--dry-run" [ "${{ env.DRY_RUN }}" == "true" ] && PUBLISH_FLAGS="" || true - npm publish $PUBLISH_FLAGS --otp=${{ env.TOTP_CODE }} + echo "npm publish $PUBLISH_FLAGS --otp=${{ env.TOTP_CODE }}" env: # https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry NODE_AUTH_TOKEN: ${{ env.NPMJS_TOKEN }} diff --git a/scripts/github-release.sh b/scripts/github-release.sh index ae915b37..b4568e0f 100755 --- a/scripts/github-release.sh +++ b/scripts/github-release.sh @@ -68,6 +68,8 @@ fi echo echo "INFO: Creating '$PKG_NAME $TAG_NAME' GitHub release (latest=$IS_LATEST)" if [ "${DRY_RUN}" == "false" ] ; then + echo "RUN gh release create $TAG_NAME" + exit 0 gh release create "$TAG_NAME" \ --title "$PKG_NAME $PKG_VER" \ --notes-file build/release-notes.md \