Skip to content

Commit

Permalink
Set release mode for full npm release
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeblahblah committed Feb 15, 2024
1 parent cebf93f commit b88d2fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion gen-typescript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b88d2fb

Please sign in to comment.