-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: update workflow for refs and multiple artifacts #1695
Conversation
git tag ${ARTIFACT_ID}/$VERSION ${{ github.event.inputs.releaseTag }} | ||
git push origin ${ARTIFACT_ID}/$VERSION | ||
VERSION=$(grep "^${ARTIFACT_ID}:" versions.txt | cut -d':' -f2 | tr -d '[:space:]') | ||
TEMP_BRANCH="temp_branch_${ARTIFACT_ID}_$VERSION" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need a branch to create tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was running into permissions errors running this on my fork without the new branch creation because my repo settings were not allowing for modification on the workflow files (which since this is a loop, is considered a modification of the workflow file). I added this temp branch step to workaround that issue (not sure it would also be an issue on this repo, but at least it shouldn't hurt).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you show me the permission error that was resolved by creating a branch or deleting the yaml file?
git checkout -b $TEMP_BRANCH | ||
git rm .github/workflows/create_additional_release_tag.yaml | ||
git commit -m "Remove workflow file" | ||
git tag "${ARTIFACT_ID}/$VERSION" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you name tag with "v"?
(It follows convention. https://github.com/googleapis/google-cloud-go/tags)
* chore: add 2 minute timeout to GrpcDirectStreamControllerTest * chore: 3 minute timeout to GrpcDirectStreamControllerTest
* deps: update protobuf dependencies to v3.23.1 and update grpc version to 1.55.1
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.27.1...v2.31.0) --- updated-dependencies: - dependency-name: requests dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
I messed up fixing merge conflicts in this PR. Going to open a new one. |
[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed! |
[java_showcase_integration_tests] Kudos, SonarCloud Quality Gate passed! |
[java_showcase_unit_tests] Kudos, SonarCloud Quality Gate passed! |
) * chore(java): update gcp-releasetool and cryptography in java requirements file Source-Link: https://github.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0
…1017) * chore(java): update gcp-releasetool and cryptography in java requirements file Source-Link: https://github.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0
Follow up to #1692
This fixes an error in the workflow if it is triggered via release, and also corrects for multiple artifacts that begin with
gax
.