Skip to content
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

Export TAG to fix our annotation manipulation. #3995

Merged
merged 1 commit into from
May 3, 2019

Conversation

mattmoor
Copy link
Member

@mattmoor mattmoor commented May 3, 2019

generate-yamls.sh performs a sed to rewrite annotations when the TAG bash variable is set, which it is in hack/release.sh after flag processing. However, because this variable wasn't exported the child process didn't inherit it and the sed wasn't being performed. This simply exports TAG before calling generate-yaml.sh.

Also drops a stale comment.

Fixes: #3626

cc @evankanderson @adrcunha @duglin

I'd like to get this simple change in, so we can verify it nightly before the 0.6 cut.

`generate-yamls.sh` performs a sed to rewrite annotations when the `TAG` bash variable is set, which it is in `hack/release.sh` after flag processing.  However, because this variable wasn't exported the child process didn't inherit it and the sed wasn't being performed.  This simply exports TAG before calling `generate-yaml.sh`.

Fixes: knative#3626
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label May 3, 2019
@knative-prow-robot knative-prow-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. area/test-and-release It flags unit/e2e/conformance/perf test issues for product features approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 3, 2019
Copy link
Member

@evankanderson evankanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

I was looking in totally the wrong place, thanks!

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label May 3, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: evankanderson, mattmoor

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot merged commit 0f8b5c7 into knative:master May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release It flags unit/e2e/conformance/perf test issues for product features cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Label: "serving.knative.dev/release" should have release name
5 participants