diff --git a/do-release.sh b/do-release.sh index c794566959..229152bec8 100755 --- a/do-release.sh +++ b/do-release.sh @@ -115,8 +115,8 @@ fi ( cd pmd-dist/target - unzip pmd-bin-*.zip - cd pmd-bin-* + unzip pmd-bin-${RELEASE_VERSION}-SNAPSHOT.zip + cd pmd-bin-${RELEASE_VERSION}-SNAPSHOT ./bin/run.sh pmd -d ../../../pmd-java/src/main/java -language java -f xml -R rulesets/java/unusedcode.xml ) @@ -252,7 +252,7 @@ cat <