From: Hendrik Jäger Date: Sun, 24 Sep 2023 20:09:39 +0000 (+0200) Subject: fix: update deprecated git option X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=0e5bd9278605cde35e54119d13ccf3fd18d41921;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git fix: update deprecated git option --- diff --git a/launch_here.rb b/launch_here.rb index 7c4b2a5f..118f02ab 100755 --- a/launch_here.rb +++ b/launch_here.rb @@ -16,7 +16,7 @@ begin if File.exists? '.git' begin - git_out = `git log -1 --pretty=raw | git name-rev --stdin`.split("\n") + git_out = `git log -1 --pretty=raw | git name-rev --annotate-stdin`.split("\n") commit, branch_spec = git_out.first.scan(/^commit (\S+)(?: \((\S+)\))?$/).first $version_timestamp = git_out[4].split[-2].to_i subject = git_out[6].strip rescue ""