[DRE-commits] [pkg-ruby-extras] 01/01: build-and-upload: try to upload before tagging and pushing changes

Cédric Boutillier boutil at moszumanska.debian.org
Tue Jun 7 08:56:36 UTC 2016


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

boutil pushed a commit to branch master
in repository pkg-ruby-extras.

commit 872c8b64cd29aab6911f48e55b85923db7b27e73
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Jun 7 10:56:28 2016 +0200

    build-and-upload: try to upload before tagging and pushing changes
---
 build-and-upload | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/build-and-upload b/build-and-upload
index 5c2ee3a..6787804 100755
--- a/build-and-upload
+++ b/build-and-upload
@@ -172,8 +172,6 @@ ask_to_proceed "Proceed with the upload? [y/N] "
 git checkout .
 git clean -dxf
 
-$gbp_buildpackage --git-tag-only --git-ignore-branch
-
 SOURCE=yes
 NEW=no
 
@@ -203,6 +201,12 @@ fi
 # sign
 debsign "$changes"
 
+# upload
+dput $host "$changes"
+
+# tag
+$gbp_buildpackage --git-tag-only --git-ignore-branch
+
 # push
 if [ $NEW = yes ]; then
   git push -u --all
@@ -214,6 +218,3 @@ else
   git push origin :
 fi
 git push --tags
-
-# upload
-dput $host "$changes"

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



More information about the Pkg-ruby-extras-commits mailing list