Author: leerho
Date: Sat Nov 22 01:06:34 2025
New Revision: 80918
Log:
update bashDeployToDist.sh
Modified:
dev/datasketches/scripts/bashDeployToDist.sh
Modified: dev/datasketches/scripts/bashDeployToDist.sh
==============================================================================
--- dev/datasketches/scripts/bashDeployToDist.sh Sat Nov 22 00:59:34
2025 (r80917)
+++ dev/datasketches/scripts/bashDeployToDist.sh Sat Nov 22 01:06:34
2025 (r80918)
@@ -185,10 +185,10 @@ echo "Proceed? [y|N]"; read confirm; if
mkdir -p $LocalSvnBasePath
#### Move to Local SVN Base (dev or release) Path directory ####
-cd $LocalSvnBasePath
+cd ${ProjectBaseDir}/$LocalSvnBasePath
svn co $RemoteSvnBasePath .
#### Move to Project directory ####
-cd $ProjectBaseDir
+cd ${ProjectBaseDir}
if [ -d "$LocalFilesPath" ] && [ ! $Snapshot ];
then
@@ -214,9 +214,9 @@ git archive --output=target/$ZipName --p
mkdir -p target/$ZipPrefix
echo "$($ScriptsDir/getGitProperties.sh $ProjectBaseDir $ProjectArtifactId
$Tag)" > target/$ZipPrefix/git.properties
-cd target
+cd ${ProjectBaseDir}/target
zip $ZipName $ZipPrefix/git.properties
-cd $ProjectBaseDir
+cd ${ProjectBaseDir}
mv target/$ZipName $LocalFilesPath
echo
@@ -227,7 +227,7 @@ echo "Next: Create GPG and SHA512 signat
echo "Proceed? [y|N]"; read confirm; if [[ $confirm != "y" ]]; then echo
"Please rerun this script when ready."; exit 1; fi
#### Move to Local SVN Files Path (dev or release) directory ####
-cd $LocalFilesPath #for signing
+cd ${ProjectBaseDir}/$LocalFilesPath #for signing
# GPG
ASC=${ZipName}.asc
@@ -260,7 +260,7 @@ echo "## SHA512 Check:"
shasum --algorithm 512 --check $SHA512
#### Move to project directory ####
-cd $ProjectBaseDir
+cd ${ProjectBaseDir}
echo
echo "=================DEPLOY TO DIST/DEV===================="
@@ -269,7 +269,7 @@ echo "Proceed? [y|N]"; read confirm; if
echo
#### Move to Local SVN Base (dev or release) Path directory and Check In to
SVN ####
-cd $LocalSvnBasePath
+cd ${ProjectBaseDir}/$LocalSvnBasePath
svn add --force .
svn ci -m "Deploy $FileVersion to DIST/DEV"
#### Check out again to make sure it shows up in local directory
@@ -285,7 +285,7 @@ then
fi
#### Move to project directory ####
-cd $ProjectBaseDir
+cd ${ProjectBaseDir}
echo
echo "Is the remote dist directory structure and content OK?"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]