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

Commit 6ffad7c

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 <[email protected]> Source-Date: Wed Apr 14 13:16:03 2021 -0400 Source-Repo: googleapis/synthtool Source-Sha: 8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d Source-Link: googleapis/synthtool@8285c2b
1 parent 7fb7530 commit 6ffad7c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.kokoro/release/snapshot.sh

+1-1
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

+1-1
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-bigqueryreservation.git",
7-
"sha": "8f718604f4161bf3da453cafae3dbbc0f1de4019"
7+
"sha": "7fb75301ccacbb70a0c028a78ce8cf00ae692b5d"
88
}
99
},
1010
{
@@ -19,7 +19,7 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "082e1ca0863b13ada8594fe91845380765da5b70"
22+
"sha": "8285c2b4cdbc3771d031ad91e1c4ec9e55fff45d"
2323
}
2424
}
2525
],

0 commit comments

Comments
 (0)