Skip to content

Commit a0b01cc

Browse files
committed
Fix publish in support branch
1 parent 88f6db9 commit a0b01cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33
version=$(cat gradle.properties | grep SDK_VERSION_NAME | cut -f2 -d"=")
44
token=$1
55
user=$2
6-
branch=${GITHUB_REF##*/}
6+
branch=${GITHUB_REF#refs/heads/}
77
repo_full_name=$(git config --get remote.origin.url | sed 's/.*:\/\/github.com\///;s/.git$//' | cut -f2 -d":")
88
generate_post_data() {
99
cat <<EOF

0 commit comments

Comments
 (0)