Skip to content

Commit 7cfa779

Browse files
author
Gary Miller
committed
fix: golang/runtime/generate.sh to packages/compiler/package.json version
1 parent b2091e1 commit 7cfa779

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

golang/runtime/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
55
if [ "$OHM_DOCKER_IMAGE_VERSION" != "" ]; then
66
VERSION="$OHM_DOCKER_IMAGE_VERSION"
77
else
8-
VERSION=$(cat "${REPO_ROOT}/packages/runtime/package.json" | jq -r '.version')
8+
VERSION=$(cat "${REPO_ROOT}/packages/compiler/package.json" | jq -r '.version')
99
fi
1010
echo "Using Ohm Docker image version: ${VERSION}"
1111
docker run --rm -v "${REPO_ROOT}:/local" ohmjs/ohm:${VERSION} compile -o golang/runtime/es5.wasm examples/ecmascript/src/es5.ohm

0 commit comments

Comments
 (0)