From b88d2fb250e356eba46743957b84d1559b25cbca Mon Sep 17 00:00:00 2001 From: George B <705427+georgeblahblah@users.noreply.github.com> Date: Thu, 15 Feb 2024 15:18:48 +0000 Subject: [PATCH] Set release mode for full npm release --- .github/workflows/generate-packages.yml | 2 +- gen-typescript.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-packages.yml b/.github/workflows/generate-packages.yml index 4c31629..f971f6c 100644 --- a/.github/workflows/generate-packages.yml +++ b/.github/workflows/generate-packages.yml @@ -29,7 +29,7 @@ jobs: - name: install run: npm install - name: generate and publish - run: ./gen-typescript.sh + run: ./gen-typescript.sh release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/gen-typescript.sh b/gen-typescript.sh index 0b3cf6b..b97c20b 100755 --- a/gen-typescript.sh +++ b/gen-typescript.sh @@ -3,7 +3,7 @@ RELEASE_TYPE=$1 if [ -z "$RELEASE_TYPE" ] || ! [[ "$RELEASE_TYPE" =~ ^(pre)?release$ ]]; then echo "Please specify a release type: prerelease or release"; - echo "./gen-typescript prerelease"; + echo "e.g gen-typescript.sh prerelease"; exit 1 fi