Skip to content

Commit b3234b5

Browse files
author
Yogthos
committed
fix exception catching in publishing step in build
1 parent 0c1735f commit b3234b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
:sign-releases? sign-releases?
122122
:pom-file src-pom
123123
:artifact jar-file})
124-
(catch org.apache.maven.wagon.authorization.AuthorizationException e
124+
(catch org.eclipse.aether.deployment.DeploymentException e
125125
(if (str/includes? (.getMessage e) "redeploying non-snapshots is not allowed")
126126
(println "Skipping" jar-file "- version already published")
127127
(throw e)))))

0 commit comments

Comments
 (0)