/{.github,go}: fix path to dolt version in release stuff

This commit is contained in:
coffeegoddd
2024-04-15 10:56:09 -07:00
parent b5659ce991
commit bcea155fa8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ for tuple in $OS_ARCH_TUPLES; do
done
render_install_sh() {
local parsed=(`grep "Version = " ./cmd/dolt/dolt.go`)
local parsed=(`grep "Version = " ./cmd/dolt/doltversion/version.go`)
local DOLT_VERSION=`eval echo ${parsed[2]}`
sed '\''s|__DOLT_VERSION__|'\''"$DOLT_VERSION"'\''|'\'' utils/publishrelease/install.sh
}
+1 -1
View File
@@ -40,7 +40,7 @@ for tuple in $OS_ARCH_TUPLES; do
done
render_install_sh() {
local parsed=(`grep "Version = " ./cmd/dolt/dolt.go`)
local parsed=(`grep "Version = " ./cmd/dolt/doltversion/version.go`)
local DOLT_VERSION=`eval echo ${parsed[2]}`
sed '\''s|__DOLT_VERSION__|'\''"$DOLT_VERSION"'\''|'\'' utils/publishrelease/install.sh
}