Fix version displayed in workbench2.
authorTom Clegg <tom@curii.com>
Tue, 2 Jan 2024 18:49:12 +0000 (13:49 -0500)
committerTom Clegg <tom@curii.com>
Tue, 2 Jan 2024 18:50:03 +0000 (13:50 -0500)
refs #18874

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

build/run-library.sh

index aaeb931d34a9d58f8bef8985626ac82c393096b4..7a70ed23a5b99f41ae1904b5221adcb314e46c7a 100755 (executable)
@@ -125,7 +125,7 @@ package_workbench2() {
     cd "$WORKSPACE/$src"
     rm -rf ./build
     NODE_ENV=production yarn install
-    VERSION="$VERSION" BUILD_NUMBER="$(default_iteration "$pkgname" "$version" yarn)" GIT_COMMIT="$(git rev-parse HEAD | head -c9)" yarn build
+    VERSION="$version" BUILD_NUMBER="$(default_iteration "$pkgname" "$version" yarn)" GIT_COMMIT="$(git rev-parse HEAD | head -c9)" yarn build
     cd "$WORKSPACE/packages/$TARGET"
     fpm_build "${WORKSPACE}/$src" "${WORKSPACE}/$src/build/=$dst" "$pkgname" dir "$version" \
               --license="GNU Affero General Public License, version 3.0" \