File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,19 @@ script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
99cd " $script_dir "
1010
1111git checkout master
12+ mvn clean
1213# Make sure all files have licenses
1314mvn license:update-file-header
1415# Make sure code is formatted consistently
1516mvn com.spotify.fmt:fmt-maven-plugin:format
16- if [ -n " $( git status --porcelain) " ]; then
17- echo " Directory not clean"
18- exit 1
19- fi
2017# Make sure code builds
2118mvn package
2219# Generate Javadocs
2320mvn javadoc:javadoc -Prelease
24- git stash
21+ if [ -n " $( git status --porcelain) " ]; then
22+ echo " Directory not clean"
23+ exit 1
24+ fi
2525
2626# Update the Javadocs on the website
2727git checkout gh-pages
@@ -32,7 +32,6 @@ git commit -m "Update Javadocs."
3232git push
3333
3434git checkout master
35- git stash pop
3635
3736# To upload the new release to Maven Central, run:
3837#
You can’t perform that action at this time.
0 commit comments