Skip to content

Commit 3d3cd34

Browse files
committed
bump-all-cabal-hashes: set $BRANCH
1 parent 168c97a commit 3d3cd34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bump-all-cabal-hashes/updater

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ FILE=$1
88

99
OWNER=$(jq -r '.owner' < "$FILE")
1010
REPO=$(jq -r '.repo' < "$FILE")
11+
BRANCH=$(jq -r '.branch' < "$FILE")
1112

1213
JSON=$(curl "https://api.github.com/repos/$OWNER/$REPO/branches/$BRANCH")
1314
REV=$(echo "$JSON" | jq -r '.commit.sha')

0 commit comments

Comments
 (0)