From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 403A313877A for ; Fri, 20 Jun 2014 12:22:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 444E3E08D4; Fri, 20 Jun 2014 12:22:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8967E08D4 for ; Fri, 20 Jun 2014 12:22:38 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BC40534019A for ; Fri, 20 Jun 2014 12:22:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 8A000188BA for ; Fri, 20 Jun 2014 12:22:35 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1403266950.d9147eaa58db3f3a9d1f7a5213a454cae2f1e7a5.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:genpatches-misc commit in: scripts/ X-VCS-Repository: proj/linux-patches X-VCS-Files: scripts/gpdorelease X-VCS-Directories: scripts/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: d9147eaa58db3f3a9d1f7a5213a454cae2f1e7a5 X-VCS-Branch: genpatches-misc Date: Fri, 20 Jun 2014 12:22:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3cbd3d73-65e6-43a4-bfde-c6aadbbfb409 X-Archives-Hash: 820dd4f4caffa4a3ea0e878d9d5f92e8 commit: d9147eaa58db3f3a9d1f7a5213a454cae2f1e7a5 Author: Mike Pagano gentoo org> AuthorDate: Fri Jun 20 12:22:30 2014 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Jun 20 12:22:30 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/linux-patches.git;a=commit;h=d9147eaa Updated gpdorelease for svn to git conversion --- scripts/gpdorelease | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/gpdorelease b/scripts/gpdorelease index 9f8ca05..4625190 100755 --- a/scripts/gpdorelease +++ b/scripts/gpdorelease @@ -15,9 +15,6 @@ function usage { echo " Example for kernel version 3.1.1: gpdorelease 3.1" } -echo "This is still under testing." -exit -1 - if [[ ${#@} == 0 ]] ; then usage exit -1 @@ -78,17 +75,18 @@ echo "Press enter to continue." read # checkout branch +echo "Checking out branch ${BRANCH}" cd ${LOCAL_PATCHES_TRUNK} git -C ${LOCAL_PATCHES_TRUNK} checkout ${BRANCH} -#svn copy ${REMOTE_TRUNK}/${BRANCH} ${REMOTE_TAGS}/${newfullver} -m "${newfullver} release" - file_base="/tmp/${TARBALL_BASENAME}-$newfullver.base.tar.xz" file_extras="/tmp/${TARBALL_BASENAME}-$newfullver.extras.tar.xz" file_experimental="/tmp/${TARBALL_BASENAME}-$newfullver.experimental.tar.xz" # build tarballs +echo "Creating tarballs in /tmp..." + if [[ "${WE_WANT}" == *"base"* ]] ; then [ -n "$(find ./[012]* 2>/dev/null)" ] && tar -cvJf ${file_base} ./[012]* fi @@ -102,14 +100,17 @@ if [[ "${WE_WANT}" == *"experimental"* ]] ; then fi #tag release +echo "Tagging with ${newfullver}" +git -C ${LOCAL_PATCHES_TRUNK} tag ${newfullver} #push tag +echo "Pushing tag ${newfullver}" +git push --tags -u origin ${BRANCH} # copy files to distfiles-local -scp /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:/tmp - -#checkout master -echo "checkout command is git -C ${LOCAL_PATCHES_TRUNK} checkout master" +#scp /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:/tmp +echo "scp'in files to dev.gentoo.org:/space/distfiles-local" +scp /tmp/${TARBALL_BASENAME}-$newfullver.* ${USERNAME}@dev.gentoo.org:/space/distfiles-local ##if [[ ${DO_WEBSITE} == "yes" ]] ; then # mv ${file_base} ${file_extras} ${file_experimental} ${WEB_LOCAL}/tarballs/