We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac021a2 commit c93ec8eCopy full SHA for c93ec8e
1 file changed
update_submodule.sh
@@ -12,10 +12,4 @@ git submodule update --remote third_party/substrait
12
DIR=$(cd "$(dirname "$0")" && pwd)
13
pushd "${DIR}"/third_party/substrait/ || exit
14
git checkout "$VERSION"
15
-SUBSTRAIT_HASH=$(git rev-parse --short HEAD)
16
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