Skip to content

Commit 8300429

Browse files
authored
chore: override CLOUDSDK_CORE_PROJECT in release (#1109)
1 parent 7847274 commit 8300429

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
name: release-please
15+
name: release
1616
on:
1717
push:
1818
branches:
@@ -70,11 +70,10 @@ jobs:
7070
- name: Cloud Build
7171
id: cloudbuild
7272
env:
73-
RELEASE_PROJECT: '${{ secrets.RELEASE_PROJECT }}'
73+
CLOUDSDK_CORE_PROJECT: '${{ secrets.RELEASE_PROJECT }}'
7474
BUCKET_NAME: '${{ secrets.RELEASE_BUCKET_NAME }}'
7575
run: |
7676
export VERSION=$(cat version.txt)
77-
gcloud config set project $RELEASE_PROJECT
7877
gcloud builds submit --config .release/upload_uberjars.yaml \
7978
--substitutions=_VERSION="$VERSION",_BUCKET_NAME="$BUCKET_NAME"
8079
- name: Cleanup Bucket
@@ -115,8 +114,7 @@ jobs:
115114
token: ${{ secrets.GITHUB_TOKEN }}
116115
title: 'chore: update to latest SNAPSHOT version'
117116
body: |
118-
Auto-generated by [create-pull-request][1]
119-
[1]: https://github.com/peter-evans/create-pull-request
117+
Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request).
120118
labels: |
121119
tests: run
122120
kokoro:force-run

0 commit comments

Comments
 (0)