[Pkg-javascript-commits] [leaflet] 23/40: update publish script

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:33:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet.

commit bac088443f98fcff5300d8c8d21732441152e626
Author: Vladimir Agafonkin <agafonkin at gmail.com>
Date:   Fri May 23 11:42:11 2014 +0300

    update publish script
---
 build/publish.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/build/publish.sh b/build/publish.sh
index 8325f52..67136ac 100755
--- a/build/publish.sh
+++ b/build/publish.sh
@@ -10,16 +10,16 @@ npm run prepublish
 git add dist/leaflet-src.js dist/leaflet.js -f
 
 # create the bower and component files
-copyfiles -u 1 build/*.json ./
-tin -v $VERSION
+node_modules/copyfiles/copyfiles -u 1 build/*.json ./
+node_modules/tin/bin/tin -v $VERSION
 git add component.json bower.json -f
 
 git commit -m "build v$VERSION"
 
 # Tag and push
-echo git tag v$VERSION
-git push --tags
+git tag v$VERSION
+git push --tags --force
 
 # # # Cleanup
-# git checkout master
-# git branch -D build
+git checkout stable
+git branch -D build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet.git



More information about the Pkg-javascript-commits mailing list