mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
fix regression on tag release script (#3944)
This commit is contained in:
parent
89b6ce86ca
commit
8844459fb8
@ -38,13 +38,14 @@ find "$ROOT/install-manifests" \
|
||||
's#(hasura/graphql-engine:)v(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(\-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(.*)*$#\1'"${TAG}"'\9#' {} \;
|
||||
|
||||
# add the latest tag to the catalog_versions file
|
||||
[ -n "$(tail -c1 "$ROOT/src-rsr/catalog_versions.txt")" ] && echo >> "$ROOT/src-rsr/catalog_versions.txt"
|
||||
echo $TAG $(cat "$ROOT/src-rsr/catalog_version.txt") >> "$ROOT/src-rsr/catalog_versions.txt"
|
||||
[ -n "$(tail -c1 "$ROOT/server/src-rsr/catalog_versions.txt")" ] && echo >> "$ROOT/server/src-rsr/catalog_versions.txt"
|
||||
echo $TAG $(cat "$ROOT/server/src-rsr/catalog_version.txt") >> "$ROOT/server/src-rsr/catalog_versions.txt"
|
||||
|
||||
git add "$ROOT/install-manifests" \
|
||||
"$ROOT/scripts/cli-migrations"
|
||||
"$ROOT/scripts/cli-migrations" \
|
||||
"$ROOT/server/src-rsr"
|
||||
|
||||
git commit -m "update manifests to $TAG"
|
||||
git commit -m "tag release $TAG"
|
||||
|
||||
git tag -a "$TAG" -m "$MESSAGE"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user