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

Release adjustments #176

Merged
merged 6 commits into from
May 8, 2019
Merged

Release adjustments #176

merged 6 commits into from
May 8, 2019

Conversation

Tristan1900
Copy link
Member

@Tristan1900 Tristan1900 commented May 3, 2019

Change log description

  • Add badge with latest release. It automatically updates the version when a release is published.
  • Do not update latest Docker tag when release candidates are published.

Signed-off-by: wenqi Wenqi.Mou@emc.com

wenqi and others added 2 commits May 2, 2019 18:34
Signed-off-by: wenqi <Wenqi.Mou@emc.com>
Signed-off-by: wenqimou <452787782@qq.com>
@Tristan1900
Copy link
Member Author

@adrianmo Could you please take a look at the change in Travis? Thank you very much!

@Tristan1900 Tristan1900 requested a review from adrianmo May 7, 2019 06:19
Makefile Outdated
@@ -57,7 +57,9 @@ login:

push: build login
docker push $(REPO):$(VERSION)
docker push $(REPO):latest
if [[ ${TRAVIS_TAG} =~ ^[0-9]+(\.[0-9]+)+(\.[0-9]+)$ ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to create capture groups. Check out the regex pattern we are already using in the code: https://github.com/pravega/pravega-operator/blob/master/pkg/util/pravegacluster.go#L29

Copy link
Member Author

Choose a reason for hiding this comment

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

Got it, thanks!

README.md Outdated
@@ -1,6 +1,6 @@
# Pravega Operator

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GoDoc](https://godoc.org/github.com/pravega/pravega-operator?status.svg)](https://godoc.org/github.com/pravega/pravega-operator) [![Build Status](https://travis-ci.org/pravega/pravega-operator.svg?branch=master)](https://travis-ci.org/pravega/pravega-operator) [![Go Report](https://goreportcard.com/badge/github.com/pravega/pravega-operator)](https://goreportcard.com/report/github.com/pravega/pravega-operator)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GoDoc](https://godoc.org/github.com/pravega/pravega-operator?status.svg)](https://godoc.org/github.com/pravega/pravega-operator) [![Build Status](https://travis-ci.org/pravega/pravega-operator.svg?branch=master)](https://travis-ci.org/pravega/pravega-operator) [![Go Report](https://goreportcard.com/badge/github.com/pravega/pravega-operator)](https://goreportcard.com/report/github.com/pravega/pravega-operator)[![Version](https://img.shields.io/badge/release-0.4.0-green.svg)](https://github.com/pravega/pravega-operator/releases)
Copy link
Contributor

Choose a reason for hiding this comment

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

is it possible to add a dynamic version badge that is automatically updated when releases are published?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed! Thanks

wenqimou added 4 commits May 7, 2019 13:38
Signed-off-by: wenqimou <452787782@qq.com>
Signed-off-by: wenqimou <452787782@qq.com>
Signed-off-by: wenqimou <452787782@qq.com>
Signed-off-by: wenqimou <452787782@qq.com>
@adrianmo adrianmo changed the title Release 0.4.0 Release adjustments May 8, 2019
@adrianmo adrianmo merged commit dd99387 into master May 8, 2019
@adrianmo adrianmo deleted the 0.4.0 branch May 8, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants