Skip to content

Commit 0f25e82

Browse files
authored
fix: 🐛 create default version value for forked repos (#2303)
1 parent deaa608 commit 0f25e82

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

build0.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22

3-
set -e
4-
set -x
3+
set -ex
54

65
# Generate the `version` file
76
ci/version.sh

generate_default_tag.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
# Run this script when your local repo
4+
# #doesn't automatically fetch tags from upstream
5+
# It allows local development with a mocked tag
6+
echo "Generating default tag..."
7+
set -ex
8+
git tag "v0.0.0=0"

0 commit comments

Comments
 (0)