Skip to content

Commit

Permalink
Replace devel on all yamls 🌳
Browse files Browse the repository at this point in the history
The labels `pipeline.tekton.dev/release: "devel"` and `version:
"devel"` are present in more files than just `controller.yaml` and
`webhook.yaml`. But we only replace those in these files. This fixes
that by updating the `devel` version in any `config/` yaml files.

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester authored and tekton-robot committed May 14, 2020
1 parent 8d5c8a1 commit 98e2321
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ spec:
done
# Rewrite "devel" to inputs.params.versionTag
sed -i 's/devel/$(inputs.params.versionTag)/g' /workspace/go/src/github.com/tektoncd/pipeline/config/controller.yaml
sed -i 's/devel/$(inputs.params.versionTag)/g' /workspace/go/src/github.com/tektoncd/pipeline/config/webhook.yaml
sed -i -e 's/\(pipeline.tekton.dev\/release\): "devel"/\1: "$(inputs.params.versionTag)"/g' -e 's/\(version\): "devel"/\1: "$(inputs.params.versionTag)"/g' /workspace/go/src/github.com/tektoncd/pipeline/config/*.yaml
OUTPUT_BUCKET_RELEASE_DIR="/workspace/output/bucket/previous/$(inputs.params.versionTag)"
Expand Down

0 comments on commit 98e2321

Please sign in to comment.