Skip to content

Commit 2d6cd49

Browse files
committed
TravisCI: Create and push tags
1 parent 89869ae commit 2d6cd49

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.travis/deploy-docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ git add .
2828
git commit -m "Deploy to GitHub Pages
2929
3030
see https://github.com/nodegit/nodegit.github.com/commit/${TRAVIS_COMMIT}"
31+
git tag "${TRAVIS_COMMIT}"
3132

3233
# push to the "nodegit.github.com" repository
33-
git push --quiet "https://${GH_TOKEN}@github.com/nodegit/nodegit.github.com.git" > /dev/null 2>&1
34+
git push --quiet "https://${GH_TOKEN}@github.com/nodegit/nodegit.github.com.git" master "${TRAVIS_COMMIT}" > /dev/null 2>&1

0 commit comments

Comments
 (0)