Skip to content

Commit

Permalink
Get the version correctly from github ref
Browse files Browse the repository at this point in the history
  • Loading branch information
sazap10 committed May 15, 2019
1 parent 93c3123 commit 253d21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RELEASE_STAGE=${RELEASE_STAGE:-production}
BUILDER_NAME=${BUILDER_NAME:-"Bugsnag build reporting"}
METADATA=${METADATA:-"{}"}
AUTO_ASSIGN_RELEASE=${AUTO_ASSIGN_RELEASE:-false}
VERSION=${VERSION:-$GITHUB_REF}
VERSION=${VERSION:-$(echo "$GITHUB_REF" | rev | cut -d"/" -f1 | rev)}

curl $URL \
--header "Content-Type: application/json" \
Expand Down

0 comments on commit 253d21a

Please sign in to comment.