File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 5454 - name : Create Zip and Pom Artifact
5555 run : |
5656 filenameZip=$(find . -name "grails-*.zip" | head -1)
57- printenv $filenameZip
58-
57+ filenameZip=$(basename $filenameZip)
58+ pluginZip=${filenameZip:7}
59+ mv $filenameZip $pluginZip
60+ sha1sum $pluginZip | cut -d " " -f 1 >> $pluginZip.sha1
61+ name=${pluginZip/.zip/}
62+ version="${name#*-}"
63+ filenamePom=$(find . -name "pom.xml" | head -1)
64+ mv $filenamePom ./tomcat-${version}.pom
65+ filenamePom=$(basename $filenamePom)
66+ sha1sum tomcat-${version}.pom | cut -d " " -f 1 >> tomcat-${version}.pom.sha1
67+ mkdir -p ./plugin-artifacts
68+ mv tomcat-* ./plugin-artifacts/.
69+
5970 - uses : actions/upload-artifact@v1
6071 with :
6172 name : plugin-artifacts
You can’t perform that action at this time.
0 commit comments