mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-17 16:34:44 -05:00
Nullify git:hash script in package.json for source code tarball release since commit hash is already included
This commit is contained in:
@@ -35,6 +35,12 @@ DOC_TARBALL_NAME=$(echo "${APP_NAME}-${APP_LONG_VERSION}-docs" | sed 's/ //g' |
|
||||
# Get the github timestamp
|
||||
git log -1 --format='%H %as' > web/commit_hash
|
||||
|
||||
pushd web > /dev/null || exit
|
||||
# Set the git:hash to empty as we already set the commit_hash
|
||||
# this helps in building pgAdmin directly from tar ball without needing git.
|
||||
npm pkg set "scripts.git:hash=exit 0"
|
||||
popd > /dev/null || exit
|
||||
|
||||
# Output basic details to show we're working
|
||||
echo "Building tarballs for ${APP_NAME} version ${APP_LONG_VERSION}..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user