Skip to content

Commit

Permalink
Merge pull request #301 from drewbrokke/BLADE-729-TASK-v3-publish-dif…
Browse files Browse the repository at this point in the history
…f-loudly

BLADE-729 liferay-blade-cli: diff loudly during publish for now
  • Loading branch information
drewbrokke committed Aug 24, 2023
2 parents f245cd2 + 810de32 commit 72fa2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ fi

unzip -p cli/build/libs/blade.jar "$embeddedMavenProfileJar" > /tmp/$timestamp/myExtractedMavenProfile.jar

diff -s /tmp/$timestamp/myExtractedMavenProfile.jar /tmp/$timestamp/maven_profile.jar
diff /tmp/$timestamp/myExtractedMavenProfile.jar /tmp/$timestamp/maven_profile.jar

if [ "$?" != "0" ]; then
echo Failed local blade.jar diff with downloaded maven profile jar. The embedded maven profile jar and nexus maven profile jar are not identical
Expand Down Expand Up @@ -221,7 +221,7 @@ fi

unzip -p /tmp/$timestamp/blade.jar "$embeddedMavenProfileJar" > /tmp/$timestamp/myExtractedMavenProfile.jar

diff -s /tmp/$timestamp/myExtractedMavenProfile.jar /tmp/$timestamp/maven_profile.jar
diff /tmp/$timestamp/myExtractedMavenProfile.jar /tmp/$timestamp/maven_profile.jar

if [ "$?" != "0" ]; then
echo Failed local blade.jar diff with downloaded maven profile jar. The embedded maven profile jar and nexus maven profile jar are not identical
Expand Down

0 comments on commit 72fa2a5

Please sign in to comment.