From: "Christian Ruppert" <idl0r@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-vdr-scripts:master commit in: /
Date: Mon, 13 Feb 2012 18:28:44 +0000 (UTC) [thread overview]
Message-ID: <1329157673.18d7ae27df93ee04fbfa43f6ba33e383d34c5031.idl0r@gentoo> (raw)
commit: 18d7ae27df93ee04fbfa43f6ba33e383d34c5031
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 18:27:53 2012 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 18:27:53 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-vdr-scripts.git;a=commit;h=18d7ae27
Make bump.sh git compatible
---
bump.sh | 19 ++++---------------
1 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/bump.sh b/bump.sh
index c493795..6d47855 100755
--- a/bump.sh
+++ b/bump.sh
@@ -9,15 +9,6 @@ if [[ "$NEWVERS" == "" ]]; then
exit 1
fi
-if [[ ! -d ../tags/"${OLDVERS}" ]]; then
- echo "WARNING: Old version $OLDVERS is not tagged"
-fi
-
-if [[ -d ../tags/"${NEWVERS}" ]]; then
- echo "new version $NEWVERS is already tagged"
- exit 1
-fi
-
sed -e "s/^Version.*/Version ${NEWVERS}/" -i README
today=$(LC_ALL=C date +"%d %b %Y")
@@ -27,12 +18,10 @@ sed -e "3a\\
" -i ChangeLog
echo "Commiting bump"
-svn commit -m "Bumped to version ${NEWVERS}" ChangeLog README
+git commit -m "Bumped to version ${NEWVERS}" ChangeLog README
+
+git tag gentoo-vdr-scripts-$NEWVERS
+git push origin :gentoo-vdr-scripts-$NEWVERS
-cd ..
-echo "svn copy"
-svn copy trunk "tags/${NEWVERS}"
-svn commit -m "Tagged version ${NEWVERS}" "tags/${NEWVERS}"
-cd "tags/${NEWVERS}"
make dist
next reply other threads:[~2012-02-13 18:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 18:28 Christian Ruppert [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-13 18:28 [gentoo-commits] proj/gentoo-vdr-scripts:master commit in: / Christian Ruppert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1329157673.18d7ae27df93ee04fbfa43f6ba33e383d34c5031.idl0r@gentoo \
--to=idl0r@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox