Skip to content

Commit c93ec8e

Browse files
committed
build: remove version updating code
1 parent ac021a2 commit c93ec8e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

update_submodule.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,4 @@ git submodule update --remote third_party/substrait
1212
DIR=$(cd "$(dirname "$0")" && pwd)
1313
pushd "${DIR}"/third_party/substrait/ || exit
1414
git checkout "$VERSION"
15-
SUBSTRAIT_HASH=$(git rev-parse --short HEAD)
1615
popd || exit
17-
18-
VERSION=${VERSION//v/}
19-
20-
sed -i "s#__substrait_hash__.*#__substrait_hash__ = \"$SUBSTRAIT_HASH\"#g" src/substrait/__init__.py
21-
sed -i "s#__substrait_version__.*#__substrait_version__ = \"$VERSION\"#g" src/substrait/__init__.py

0 commit comments

Comments
 (0)