Skip to content

Commit 1d44ecd

Browse files
busunkim96chingor13
authored andcommitted
Enable autorelease (#222)
1 parent ee67b5d commit 1d44ecd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.kokoro/release/stage.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@ action {
1212
strip_prefix: "github/google-auth-library-java"
1313
}
1414
}
15+
16+
# Fetch the token needed for reporting release status to GitHub
17+
before_action {
18+
fetch_keystore {
19+
keystore_resource {
20+
keystore_config_id: 73713
21+
keyname: "yoshi-automation-github-key"
22+
}
23+
}
24+
}

.kokoro/release/stage.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515

1616
set -eo pipefail
1717

18+
# Start the releasetool reporter
19+
python3 -m pip install gcp-releasetool
20+
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script
21+
1822
source $(dirname "$0")/common.sh
1923
MAVEN_SETTINGS_FILE=$(realpath $(dirname "$0")/../../)/settings.xml
2024
pushd $(dirname "$0")/../../

0 commit comments

Comments
 (0)