Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Automatic release tag labels #507

Merged
merged 2 commits into from
Aug 6, 2019

Conversation

grantr
Copy link
Contributor

@grantr grantr commented Aug 5, 2019

Companion to knative/eventing#1644.

Proposed Changes

  • Automatically update version labels in release artifacts when a tagged release is generated
  • Add release labels to non-ConfigMap objects that don't have them, mainly Kafka and Camel sources.

Eliminates the need to manually update release tags for each release.
Copied from serving.
ConfigMaps are expected to be updated by users, so they don't get
release tags.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Aug 5, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grantr

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 added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 5, 2019
@grantr grantr requested a review from Harwayne August 5, 2019 23:57
@grantr
Copy link
Contributor Author

grantr commented Aug 5, 2019

/milestone v0.8.0

@knative-prow-robot knative-prow-robot added this to the v0.8.0 milestone Aug 5, 2019
@@ -32,11 +32,20 @@ COMPONENTS=(
readonly COMPONENTS

function build_release() {
# Update release labels if this is a tagged release
if [[ -n "${TAG}" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

who sets this TAG env variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's set by the release helpers when both --tag-release and --version are set.

@nachocano
Copy link
Contributor

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2019
@knative-prow-robot knative-prow-robot merged commit 4bda4fc into knative:master Aug 6, 2019
Copy link
Contributor

@adrcunha adrcunha left a comment

Choose a reason for hiding this comment

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

/lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants