Skip to content
This repository has been archived by the owner on Jan 11, 2022. It is now read-only.

Commit

Permalink
Add intellij plugin repo credentials to release process (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
etanshaul authored Dec 14, 2018
1 parent b8b1758 commit 25dfad6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ dependencies {
val intellijRepoChannel: String by project
val publishPlugin: PublishTask by tasks
publishPlugin {
username(System.getenv("CONTAINER_TOOLS_REPO_USERNAME"))
password(System.getenv("CONTAINER_TOOLS_REPO_PASSWORD"))
username(System.getenv("IJ_REPO_USERNAME"))
password(System.getenv("IJ_REPO_PASSWORD"))
channels(intellijRepoChannel)
}

Expand Down
4 changes: 4 additions & 0 deletions kokoro/unix/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@
## Export required environment variables
ANALYTICS_ID_PATH=${KOKORO_KEYSTORE_DIR}/72743_analytics_id
GITHUB_TOKEN_PATH=${KOKORO_KEYSTORE_DIR}/72743_paflynn_github_token
IJ_REPO_USERNAME_PATH=${KOKORO_KEYSTORE_DIR}/72743_ij_repo_username
IJ_REPO_PASSWORD_PATH=${KOKORO_KEYSTORE_DIR}/72743_ij_repo_password
export ANALYTICS_ID=$(cat ANALYTICS_ID_PATH)
export GITHUB_TOKEN=$(cat GITHUB_TOKEN_PATH)
export IJ_REPO_USERNAME=$(cat IJ_REPO_USERNAME_PATH)
export IJ_REPO_PASSWORD=$(cat IJ_REPO_PASSWORD_PATH)

cd github/google-container-tools-intellij

Expand Down

0 comments on commit 25dfad6

Please sign in to comment.