Skip to content

Commit fe89f8f

Browse files
author
Sonmez Kartal
committed
Typo with --abbrev-ref option name
Signed-off-by: Sonmez Kartal <sonmez@koding.com>
1 parent d792ee4 commit fe89f8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ci/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ declare timestamp=$(date "+%Y-%m-%dT%H:%M:%S") \
2626

2727
echo $revision >VERSION
2828

29-
declare branch=${BRANCH:-$(git rev-parse --abbrev HEAD)}
29+
declare branch=${BRANCH:-$(git rev-parse --abbrev-ref HEAD)}
3030
declare config=$(jq --raw-output ".${branch}.config" scripts/ci/map.json)
3131

3232
if [[ -z "$config" || "$config" == "null" ]]; then

0 commit comments

Comments
 (0)