Also make sure the tags are up to date here.

This commit is contained in:
ccd0 2015-03-02 10:47:00 -08:00
parent b561f963f1
commit ffcd23a30d

View File

@ -143,6 +143,7 @@ module.exports = (grunt) ->
""".split('\n').join('&&') """.split('\n').join('&&')
beta: beta:
command: """ command: """
git fetch --tags
git tag -af beta -m "<%= pkg.meta.name %> v<%= pkg.meta.version %>." git tag -af beta -m "<%= pkg.meta.name %> v<%= pkg.meta.version %>."
git checkout gh-pages git checkout gh-pages
git pull git pull
@ -153,6 +154,7 @@ module.exports = (grunt) ->
""".split('\n').join('&&') """.split('\n').join('&&')
stable: stable:
command: """ command: """
git fetch --tags
git tag -af stable -m "<%= pkg.meta.name %> v<%= pkg.meta.version %>." git tag -af stable -m "<%= pkg.meta.name %> v<%= pkg.meta.version %>."
git checkout gh-pages git checkout gh-pages
git pull git pull
@ -164,6 +166,7 @@ module.exports = (grunt) ->
""".split('\n').join('&&') """.split('\n').join('&&')
web: web:
command: """ command: """
git fetch --tags
git commit -am "Build web page." git commit -am "Build web page."
git checkout gh-pages git checkout gh-pages
git pull git pull