Skip to content

Commit d2cbfe7

Browse files
committed
Trigger push
1 parent 91da94a commit d2cbfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/publish_to_github.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ packageRepo="${2}"
2525
packageDistDir="$(realpath ${3})"
2626

2727
buildVersion=$(cd ${packageDistDir} && node -pe "require('./package.json').version")
28-
branchName=${CIRCLE_BRANCH:-'main'}
28+
branchName=${GITHUB_REF_NAME:-'main'}
2929
commitSha=$(git rev-parse --short HEAD)
3030
commitAuthorName=$(git --no-pager show -s --format='%an' HEAD)
3131
commitAuthorEmail=$(git --no-pager show -s --format='%ae' HEAD)

0 commit comments

Comments
 (0)