Correct vm sign script with bash compatible condition. Fix rewrite version.

This commit is contained in:
aboyko
2023-06-12 18:44:06 -04:00
parent 5be4cd3a11
commit 7f2dbe5ecf
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ then
files=`ls $1`
for file in $files
do
if ! [ -d $file ] && [[ $file == *.jar ]]
if ! [ -d $file ] && [ "${file: -4}" == ".jar" ]
then
echo "Copying $file to remote machine..."
scp -i $SSH_KEY $1/$file $SSH_USER@vm-tools.spring.vmware.com:/opt/bamboo

View File

@@ -113,7 +113,7 @@
<commons-codec-version>1.13</commons-codec-version>
<!-- Rewrite specific properties -->
<rewrite-version>8.1.0-SNAPSHOT</rewrite-version>
<rewrite-version>8.1.1</rewrite-version>
<rewrite-spring-version>5.1.0-SNAPSHOT</rewrite-spring-version>
<rewrite-gradle-tooling-api-version>1.1.0-SNAPSHOT</rewrite-gradle-tooling-api-version>