mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
ci: fix issues faced during release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3767 GitOrigin-RevId: 67c6536826f451161b8dda8efcf1e7d37469cc42
This commit is contained in:
parent
cb893e6e3f
commit
50d9c112e7
@ -21,12 +21,4 @@ VERSION="${GIT_TAG_EXACT}"
|
||||
test -n "$VERSION" || VERSION="${GIT_BRANCH}-${GIT_SHA}${GIT_DIRTY}"
|
||||
|
||||
VERSION="$(echo $VERSION | tr -cd '[[:alnum:]]._-')"
|
||||
|
||||
# Sanity check: currently some parts of CI reference BUILDKITE_TAG, others call
|
||||
# this script again and these must agree.
|
||||
if [ -n "$BUILDKITE_TAG" ] && [ "$VERSION" != "$BUILDKITE_TAG" ]; then
|
||||
echo "BUILDKITE_TAG is set as \"$BUILDKITE_TAG\" but somehow does not agree with repo tag \"$VERSION\"!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "$VERSION"
|
||||
|
Loading…
Reference in New Issue
Block a user