Skip to content

Commit

Permalink
test the release signing
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Aug 15, 2023
1 parent 0a5f5ed commit 55d5569
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/build
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,16 @@ mv $AOT_CACHE_FILE src/main/cljs/cljs/core.cljs.cache.aot.edn

# For Hudson server
if [ "$HUDSON" = "true" ]; then
mvn -B --fail-at-end -Psonatype-oss-release $CLJS_SCRIPT_MVN_OPTS \
mvn -B -ntp --fail-at-end -Psonatype-oss-release $CLJS_SCRIPT_MVN_OPTS \
clean deploy nexus-staging:release

echo "Creating tag $TAG"
git tag -f "$TAG"
git push origin "$TAG"
else
echo "Skipping remote deployment and Git tag because we are not on Hudson."
mvn $CLJS_SCRIPT_MVN_OPTS clean install
mvn -B -ntp -DskipNexusStagingDeployMojo=true --fail-at-end -Psonatype-oss-release $CLJS_SCRIPT_MVN_OPTS \
clean install
fi

rm -f src/main/cljs/cljs/core.aot.js
Expand Down

0 comments on commit 55d5569

Please sign in to comment.