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

Tag repo with Go compatible version names #100

Merged
merged 5 commits into from
Dec 16, 2019

Conversation

jasonwzm
Copy link
Member

fix istio/api#1201

The fix does not do double tagging. If a repo needs to be exposed for external use, we will just release it with go version convention.

@jasonwzm jasonwzm requested a review from a team as a code owner December 16, 2019 06:49
@istio-policy-bot
Copy link

🤔 🐛 You appear to be fixing a bug in Go code, yet your PR doesn't include updates to any test files. Did you forget to add a test?

Courtesy of your friendly test nag.

@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Dec 16, 2019
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 16, 2019
@istio-testing istio-testing added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 16, 2019
pkg/manifest.go Outdated
@@ -107,5 +108,8 @@ func ReadInManifest(manifestFile string) (model.InputManifest, error) {
if err := validateManifestDependencies(manifest.Dependencies); err != nil {
return manifest, fmt.Errorf("invalid manifest: %v", err)
}
if _, err = semver.StrictNewVersion(manifest.Version); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

I think this will fail for 1.5-dev.sha

Copy link
Member Author

Choose a reason for hiding this comment

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

can we name the release 1.5.0-dev.sha? So that all of our versions in the future will be semver.

@howardjohn
Copy link
Member

howardjohn commented Dec 16, 2019 via email

@jasonwzm
Copy link
Member Author

@howardjohn If you can point me to those conversations, that'd be great! But from my understanding, with our current branching strategy, any new PRs that are merged will belong to current patch version + 1. For example, any new PR merged now will be built with version 1.4.3-dev.sha?

@jasonwzm
Copy link
Member Author

@howardjohn Thanks! Based on the scenarios discussed in the slack chat, I removed the semver check for the input version and moved it to where we tag go module version.

@istio-testing istio-testing merged commit 230d197 into istio:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. 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.

Add v prefixed release tags
5 participants