Skip to content

Commit

Permalink
see #203 strip slash from release …
Browse files Browse the repository at this point in the history
  • Loading branch information
bwl21 committed Apr 30, 2018
1 parent 3a67682 commit 6190758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 30_sources/SRC_Zupfnoter/src/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ end

def git_describe
v = File.readlines("version.rb").map{|l|l.strip}
git_version = %x{git describe}.strip.gsub(/release|"xxx"\//, "")
git_version = %x{git describe}.strip.gsub(/release\/|"xxx"\//, "")
v[0] = %Q{VERSION = "#{git_version}"}
File.open("version-prod.rb", "w") do |f|
f.puts "## do not edit this file"
Expand Down

0 comments on commit 6190758

Please sign in to comment.