Nullify git:hash script in package.json for source code tarball release since commit hash is already included
parent
c4f7a18ec5
commit
2a43d1c939
|
|
@ -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}..."
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue