[DRE-commits] [ruby-launchy-shim] 02/04: launchy.gemspec: read version from debian/changelog
Antonio Terceiro
terceiro at moszumanska.debian.org
Wed Oct 21 16:37:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-launchy-shim.
commit af1ead9bcac12308519bf7e521c8d4ec0962f89e
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date: Wed Oct 21 14:22:06 2015 -0200
launchy.gemspec: read version from debian/changelog
---
debian/changelog | 3 ++-
launchy.gemspec | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index be56506..a08903e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-ruby-launchy-shim (2.3.1) UNRELEASED; urgency=medium
+ruby-launchy-shim (2.3.0.1) UNRELEASED; urgency=medium
* improve package description
+ * launchy.gemspec: read version from debian/changelog
-- Antonio Terceiro <terceiro at debian.org> Wed, 21 Oct 2015 14:18:30 -0200
diff --git a/launchy.gemspec b/launchy.gemspec
index 039123d..1730d58 100644
--- a/launchy.gemspec
+++ b/launchy.gemspec
@@ -8,7 +8,7 @@ EOF
Gem::Specification.new do |s|
s.name = "launchy"
- s.version = '2.3.0' # `dpkg-parsechanglog -SVersion`.strip
+ s.version = `dpkg-parsechangelog -SVersion`.strip.split('.').first(3).join('.')
s.authors = ["Antonio Terceiro"]
s.date = "2015-10-20"
s.summary = "helper class for launching a web browser"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-launchy-shim.git
More information about the Pkg-ruby-extras-commits
mailing list