forked from phoedos/pmd
[ci] Don't run unnecessary build during release
This commit is contained in:
@@ -42,6 +42,8 @@ function build() {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# stop early for invalid maven version and branch/tag combination
|
||||
pmd_ci_maven_verify_version || exit 0
|
||||
|
||||
if [ "$(pmd_ci_utils_get_os)" != "linux" ]; then
|
||||
pmd_ci_log_group_start "Build with mvnw"
|
||||
@@ -52,9 +54,6 @@ function build() {
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# stop early for invalid maven version and branch/tag combination
|
||||
pmd_ci_maven_verify_version || exit 0
|
||||
|
||||
# only builds on pmd/pmd continue here
|
||||
pmd_ci_log_group_start "Setup environment"
|
||||
pmd_ci_setup_secrets_private_env
|
||||
|
Reference in New Issue
Block a user