Skip to content

Commit

Permalink
add fallback for web3 json-rpc...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jagden committed Dec 15, 2024
1 parent 6330048 commit 81d6a68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boyar/create-version-file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ if [[ ! -z "$CIRCLE_TAG" ]]; then

echo "$CIRCLE_TAG" > .version
else
LATEST_SEMVER=$(git describe --tags --abbrev=0)
#LATEST_SEMVER=$(git describe --tags --abbrev=0)
LATEST_SEMVER=$(git tag --sort=-v:refname | head -n 1)
SHORT_COMMIT=$(git rev-parse HEAD | cut -c1-8)
echo "$LATEST_SEMVER-$SHORT_COMMIT" > .version
echo "$LATEST_SEMVER-$SHORT_COMMIT"
Expand Down

0 comments on commit 81d6a68

Please sign in to comment.