[ARVADOS] created: 1.1.3-337-gc415c7c
Git user
git at public.curoverse.com
Fri Apr 6 16:13:52 EDT 2018
at c415c7ce2c5e95bebd7b8649ed5863a07b208dd3 (commit)
commit c415c7ce2c5e95bebd7b8649ed5863a07b208dd3
Author: Fernando Monserrat <fernando.monserrat at gmail.com>
Date: Fri Apr 6 17:13:46 2018 -0300
13339: update gemspecs for new versioning
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat at veritasgenetics.com>
diff --git a/sdk/cli/arvados-cli.gemspec b/sdk/cli/arvados-cli.gemspec
index 93968e2..10be5e7 100644
--- a/sdk/cli/arvados-cli.gemspec
+++ b/sdk/cli/arvados-cli.gemspec
@@ -7,12 +7,13 @@ if not File.exist?('/usr/bin/git') then
exit
end
-git_timestamp, git_hash = `git log -n1 --first-parent --format=%ct:%H .`.chomp.split(":")
+git_latest_tag - `git describe --abbrev=0`
+git_timestamp = `git log -n1 --first-parent --format=%ct`
git_timestamp = Time.at(git_timestamp.to_i).utc
Gem::Specification.new do |s|
s.name = 'arvados-cli'
- s.version = "0.1.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
+ s.version = "#{git_latest_tag}.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
s.date = git_timestamp.strftime("%Y-%m-%d")
s.summary = "Arvados CLI tools"
s.description = "Arvados command line tools, git commit #{git_hash}"
diff --git a/sdk/ruby/arvados.gemspec b/sdk/ruby/arvados.gemspec
index c351189..6b072ec 100644
--- a/sdk/ruby/arvados.gemspec
+++ b/sdk/ruby/arvados.gemspec
@@ -7,12 +7,13 @@ if not File.exist?('/usr/bin/git') then
exit
end
-git_timestamp, git_hash = `git log -n1 --first-parent --format=%ct:%H .`.chomp.split(":")
+git_latest_tag - `git describe --abbrev=0`
+git_timestamp = `git log -n1 --first-parent --format=%ct`
git_timestamp = Time.at(git_timestamp.to_i).utc
Gem::Specification.new do |s|
s.name = 'arvados'
- s.version = "0.1.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
+ s.version = "#{git_latest_tag}.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
s.date = git_timestamp.strftime("%Y-%m-%d")
s.summary = "Arvados client library"
s.description = "Arvados client library, git commit #{git_hash}"
diff --git a/services/login-sync/arvados-login-sync.gemspec b/services/login-sync/arvados-login-sync.gemspec
index 28ae431..61d5dd8 100644
--- a/services/login-sync/arvados-login-sync.gemspec
+++ b/services/login-sync/arvados-login-sync.gemspec
@@ -7,12 +7,13 @@ if not File.exists?('/usr/bin/git') then
exit
end
-git_timestamp, git_hash = `git log -n1 --first-parent --format=%ct:%H .`.chomp.split(":")
+git_latest_tag - `git describe --abbrev=0`
+git_timestamp = `git log -n1 --first-parent --format=%ct`
git_timestamp = Time.at(git_timestamp.to_i).utc
Gem::Specification.new do |s|
s.name = 'arvados-login-sync'
- s.version = "0.1.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
+ s.version = "#{git_latest_tag}.#{git_timestamp.strftime('%Y%m%d%H%M%S')}"
s.date = git_timestamp.strftime("%Y-%m-%d")
s.summary = "Set up local login accounts for Arvados users"
s.description = "Creates and updates local login accounts for Arvados users. Built from git commit #{git_hash}"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list