Skip to content

Commit 0b0eae9

Browse files
committed
Accept input like refs/heads/master
because converting ${{ github.ref }} to a branch name is kinda tedious on GitHub Actions.
1 parent cf435f7 commit 0b0eae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/update-ruby.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ unset GIT_DIR
1010
export LANG=en_US.UTF-8
1111

1212
ruby_repo="/var/git/ruby.git"
13-
ruby_branch="$1"
13+
ruby_branch="$(basename "$1")"
1414
ruby_workdir="/data/git.ruby-lang.org/update-ruby"
1515
log_path="/tmp/update-ruby.log"
1616

0 commit comments

Comments
 (0)