Skip to content

Commit

Permalink
fix: use GH_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
yj-yan committed Mar 29, 2024
1 parent 19a79e0 commit bdfec96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shell/ci/release/trigger-rc-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ git checkout $prereleaseBranch

# Dryrun the semantic-release on prereleaseBranch to check if there is changes to release.
# If not skip the release.
releaseOutput=$(NPM_TOKEN='' yarn --frozen-lockfile semantic-release -d)
GH_TOKEN=$(gh auth token)
releaseOutput=$(NPM_TOKEN='' GH_TOKEN=$GH_TOKEN yarn --frozen-lockfile semantic-release -d)
echo "$releaseOutput"

if [[ $releaseOutput != *"Published release"* ]]; then
Expand Down

0 comments on commit bdfec96

Please sign in to comment.