Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 7703466

Browse files
fix: release scripts from issuing overlapping phases
`mvn deploy` will run `mvn install` so specifying `mvn install deploy` is redundant at best. At worst, it will cause plugins like maven-shade-plugin to be executed twice re-shading itself Source-Author: Igor Bernstein <igorbernstein@google.com> Source-Date: Wed Apr 14 13:16:03 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d Source-Link: googleapis/synthtool@8285c2b
1 parent 0d33747 commit 7703466

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.kokoro/release/snapshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ grep SNAPSHOT versions.txt
2525
setup_environment_secrets
2626
create_settings_xml_file "settings.xml"
2727

28-
mvn clean install deploy -B \
28+
mvn clean deploy -B \
2929
--settings ${MAVEN_SETTINGS_FILE} \
3030
-DperformRelease=true \
3131
-Dgpg.executable=gpg \

.kokoro/release/stage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ create_settings_xml_file "settings.xml"
2929

3030
# attempt to stage 3 times with exponential backoff (starting with 10 seconds)
3131
retry_with_backoff 3 10 \
32-
mvn clean install deploy -B \
32+
mvn clean deploy -B \
3333
--settings ${MAVEN_SETTINGS_FILE} \
3434
-DskipTests=true \
3535
-DperformRelease=true \

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-websecurityscanner.git",
7-
"sha": "6793fb448f3a8d2091e5172ccc884c581e1803d9"
7+
"sha": "0d337475405a58a7474cfde03d673b79787dcb6c"
88
}
99
},
1010
{
@@ -35,7 +35,7 @@
3535
"git": {
3636
"name": "synthtool",
3737
"remote": "https://github.com/googleapis/synthtool.git",
38-
"sha": "082e1ca0863b13ada8594fe91845380765da5b70"
38+
"sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d"
3939
}
4040
}
4141
],

0 commit comments

Comments
 (0)