[DRE-commits] [gemwatch] 02/03: push before deploying
Antonio Terceiro
terceiro at moszumanska.debian.org
Thu Aug 6 14:36:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository gemwatch.
commit 663265c1931cefa7c6558a586393fe04ef5a139c
Author: Antonio Terceiro <terceiro at debian.org>
Date: Thu Aug 6 11:34:48 2015 -0300
push before deploying
this more or less avoid concurrent deploys, since git push will fail if
master is not a fast forward
---
Rakefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Rakefile b/Rakefile
index 842a754..8a8d722 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,6 +19,7 @@ task :alioth do
system 'git status'
exit(1)
end
+ sh 'git push'
sh "rsync -avtPC --exclude /.git --exclude /tmp --exclude /.bundle ./ alioth.debian.org:#{ALIOTH_DEPLOY_DIR}/"
sh "ssh alioth.debian.org '#{ALIOTH_DEPLOY_COMMANDS}'"
sh 'git tag $(date --utc +%Y-%m-%d-%H-%M-$USER)'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gemwatch.git
More information about the Pkg-ruby-extras-commits
mailing list