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

Add link to Jekyll Project Version Tag plugin #2468

Merged
merged 1 commit into from Jun 1, 2014

Conversation

Projects
None yet
4 participants
@rob-murray
Contributor

rob-murray commented Jun 1, 2014

Hi,
I have added a link to my tag plugin that grabs a version identifier from the git repo so that you can display what version of site is deployed; hopefully it is useful to other people.

This plugin will look for the latest tag via git describe --tags falling back to git rev-parse HEAD if there are no tags.

The following snippet will output something like the html below;

<p>Build: {% project_version %}</p>
<p>Build: 3.0.0-5-ga189420</p>
@mattr-

This comment has been minimized.

Member

mattr- commented Jun 1, 2014

Seems good. :shipit:

parkr added a commit that referenced this pull request Jun 1, 2014

@parkr parkr merged commit 46c99e6 into jekyll:master Jun 1, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details

parkr added a commit that referenced this pull request Jun 1, 2014

jens-na pushed a commit to jens-na/jekyll that referenced this pull request Jun 1, 2014

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.