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

Badge version image #429

Merged
merged 4 commits into from
Aug 20, 2014
Merged

Badge version image #429

merged 4 commits into from
Aug 20, 2014

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Aug 19, 2014

fixed #427

@fengmk2 fengmk2 added this to the 1.0 milestone Aug 19, 2014
var name = this.params[0];
var latestTag = yield* Module.getTag(name, 'latest');
if (latestTag) {
color = 'blue';
Copy link
Member

Choose a reason for hiding this comment

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

change the color in different version ?

0.0.z => red
0.y.z => green
x.y.z => blue

Copy link
Member Author

Choose a reason for hiding this comment

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

good!

@fengmk2
Copy link
Member Author

fengmk2 commented Aug 20, 2014

image

How about this?

@dead-horse
Copy link
Member

good

@fengmk2
Copy link
Member Author

fengmk2 commented Aug 20, 2014

I need to update the document

@fengmk2
Copy link
Member Author

fengmk2 commented Aug 20, 2014

image

@dead-horse all done.

dead-horse added a commit that referenced this pull request Aug 20, 2014
@dead-horse dead-horse merged commit c24526d into master Aug 20, 2014
@dead-horse dead-horse deleted the badge branch August 20, 2014 01:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use shields image
2 participants