Skip to content

Commit

Permalink
chore: fix build-rc.yml workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
teebszet committed Jan 11, 2024
1 parent 9165a41 commit dae77b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ jobs:
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/{owner}/{repo}/releases > releases.json
# get $TAG from branch name, e.g. v0.25.0
TAG=$(echo $SOURCE_BRANCH | sed 's/release\/\(.*\)/\1/')
export TAG=$(echo $SOURCE_BRANCH | sed 's/release\/\(.*\)/\1/')
# export $NEXT_TAG using releases.json and $TAG, e.g. v0.25.0-rc.0
cd scripts
./find-tag.sh
source ./find-tag.sh
# publish the release as prerelease rc
gh api \
--method POST \
Expand Down

0 comments on commit dae77b4

Please sign in to comment.