From 0f25e82416773ef7f49d46ec453a58d064307b9d Mon Sep 17 00:00:00 2001 From: Omar Mesquita Date: Sat, 9 Sep 2023 09:37:19 -0300 Subject: [PATCH] fix: :bug: create default version value for forked repos (#2303) --- build0.sh | 3 +-- generate_default_tag.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100755 generate_default_tag.sh diff --git a/build0.sh b/build0.sh index dde14c4959..7218d748b7 100755 --- a/build0.sh +++ b/build0.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash -set -e -set -x +set -ex # Generate the `version` file ci/version.sh diff --git a/generate_default_tag.sh b/generate_default_tag.sh new file mode 100755 index 0000000000..b38b4d7239 --- /dev/null +++ b/generate_default_tag.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Run this script when your local repo +# #doesn't automatically fetch tags from upstream +# It allows local development with a mocked tag +echo "Generating default tag..." +set -ex +git tag "v0.0.0=0"