Skip to content

Commit

Permalink
Merge branch 'main' into renovate/typescript-4.x-lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsufin authored Nov 19, 2024
2 parents 9c43d76 + c64c6a6 commit a0ba082
Show file tree
Hide file tree
Showing 102 changed files with 6,293 additions and 25,015 deletions.
13 changes: 12 additions & 1 deletion .kokoro/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@ NPM_TOKEN=$(cat "${KOKORO_GFILE_DIR}/secret_manager/repo_automation_bots_npm_pub
printf "//wombat-dressing-room.appspot.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc

SCRIPT=$(realpath $(dirname $0)/./publish-single.sh)
npx @google-cloud/mono-repo-publish custom --script="${SCRIPT}" --pr-url="${AUTORELEASE_PR}" --exclude-files=**/samples/*

if [[ -n "${RELEASE_PACKAGE}" ]]; then
# A specific package to release. E.g., RELEASE_PACKAGE=gcf-utils
# With this environment variable manually set in manual Kokoro
# invocations, the release does not rely on GitHub APIs.
echo "Releasing the specified package ${RELEASE_PACKAGE}"
cd "$(dirname $0)/../packages/${RELEASE_PACKAGE}"
bash "${SCRIPT}"
else
echo "Releasing the modules changed in ${AUTORELEASE_PR}"
npx @google-cloud/mono-repo-publish custom --script="${SCRIPT}" --pr-url="${AUTORELEASE_PR}" --exclude-files=**/samples/*
fi
4 changes: 2 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"packages/bot-config-utils": "8.0.0",
"packages/cron-utils": "5.0.0",
"packages/datastore-lock": "6.0.0",
"packages/flakybot": "1.2.1",
"packages/gcf-utils": "16.0.1",
"packages/flakybot": "1.2.2",
"packages/gcf-utils": "16.1.1",
"packages/git-file-utils": "2.0.0",
"packages/issue-utils": "4.0.0",
"packages/label-utils": "5.0.0",
Expand Down
1 change: 1 addition & 0 deletions .trampolinerc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ required_envvars+=(
pass_down_envvars+=(
"AUTORELEASE_PR"
"VERSION"
"RELEASE_PACKAGE"
)

# Prevent unintentional override on the default image.
Expand Down
Loading

0 comments on commit a0ba082

Please sign in to comment.