You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if release_artifact_exists "${CODEGEN_ARTIFACT}""${codegen_version}";then
29
30
codegen_exists="true"
30
-
if [[ "${skip_maven_deploy}"!="true" ]];then
31
+
if [[ "${dry_run}"=="true" ]];then
32
+
notice "Codegen artifact ${CODEGEN_ARTIFACT}:${codegen_version} already exists; continuing because DRY_RUN=true."
33
+
elif [[ "${skip_maven_deploy}"!="true" ]];then
31
34
fail "Codegen artifact ${CODEGEN_ARTIFACT}:${codegen_version} already exists in Maven Central. Rerun with skip_maven_deploy=true only for recovery."
32
35
fi
33
36
fi
@@ -53,7 +56,7 @@ if [[ "${release_generators}" == "true" ]]; then
53
56
notice "Generator artifact ${generators_version} does not exist; generator deploy is required."
54
57
fi
55
58
56
-
if [[ "${generators_deploy_needed}"=="true"&&"${skip_maven_deploy}"=="true" ]];then
59
+
if [[ "${generators_deploy_needed}"=="true"&&"${skip_maven_deploy}"=="true"&&"${dry_run}"!="true"]];then
57
60
fail "Generator artifact ${generators_version} does not exist, but skip_maven_deploy=true would skip publishing it. Publish generators first or rerun without skip_maven_deploy."
58
61
fi
59
62
@@ -82,7 +85,7 @@ if [[ "${release_generators}" == "true" ]]; then
notice "Dry run will build codegen with bootstrap generators ${codegen_build_generators_version}; release deploy will use ${generators_version} after generators are published."
0 commit comments