Honour package version when no tarball is given

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2024-09-04 18:59:03 +01:00
commit b786cecdf9

View file

@ -60,7 +60,7 @@ if [ -f "$TARBALL" ]; then
mv ${TARBALL_DIR}/*.tgz .
rm -rf ${TARBALL_DIR}
else
npm pack ${PACKAGE}
npm pack ${PACKAGE}@${VERSION}
fi
tar xfz *.tgz
cd package