Also make sure the tags are up to date here.
This commit is contained in:
parent
b561f963f1
commit
ffcd23a30d
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user