Remove commit hash from Version string#1021
Remove commit hash from Version string#1021jetstack-bot merged 3 commits intocert-manager:masterfrom
Conversation
Only add the commit hash to the version string if the AppVersion is set to canary. See cert-manager#997 Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
|
/ok-to-test |
|
(copying your question over from the issue):
I think applying it to the version in general should suffice. We won't be changing git tags after they are created, and if we do, presumably there is a very good reason and the other version has not rolled out yet. Let's go with how you've done it here, and if we start hitting issues we can adjust accordingly 😄 Thanks! This is perfect, and thanks also for the unit tests! You'll need to run /approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: munnerz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@munnerz I will get on that as soon as I can 👍 |
|
Thanks @nalum! I think a simple |
Signed-off-by: Luke Mallon (Nalum) <luke@mallon.io>
|
Thanks again! /lgtm |
What this PR does / why we need it:
This PR removes the Git commit hash from the version string unless
github.com/JetStack/cert-manager/pkg/util.AppVersionis set tocanary.Which issue this PR fixes: fixes #997
Special notes for your reviewer:
Open question on issue #997.
Release note: