Skip to content

Commit 6b69325

Browse files
committed
Remove the patch version from DEFAULT_VERSION_CODE
1 parent 2bfda46 commit 6b69325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

secp256k1-sys/vendor-libsecp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ else
88
SECP_VENDOR_GIT_ROOT="$(realpath "$SECP_VENDOR_GIT_ROOT")"
99
fi
1010
SECP_SYS="$SECP_VENDOR_GIT_ROOT"/secp256k1-sys
11-
DEFAULT_VERSION_CODE=$(grep "^version" "$SECP_SYS/Cargo.toml" | sed 's/\./_/g' | sed 's/.*"\(.*\)".*/\1/')
11+
DEFAULT_VERSION_CODE=$(grep "^version" "$SECP_SYS/Cargo.toml" | sed 's/\./_/g' | sed 's/.*"\(.*\)".*/\1/' | cut -d_ -f1-2)
1212
DEFAULT_DEPEND_DIR="$SECP_SYS/depend"
1313
DEFAULT_SECP_REPO=https://github.com/bitcoin-core/secp256k1.git
1414

0 commit comments

Comments
 (0)