Sha256: 056c0361e24bee474b1ded34a4be0512861cab775d8d1a30db522399d37f7a42

Contents?: true

Size: 233 Bytes

Versions: 6

Compression:

Stored size: 233 Bytes

Contents

#!/usr/bin/env ruby

file_names = ['lib/raven/version.rb']

file_names.each do |file_name|
  text = File.read(file_name)
  new_contents = text.gsub(/\d.\d.\d/, ARGV[1])
  File.open(file_name, "w") {|file| file.puts new_contents }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sentry-raven-3.1.1 .scripts/bump-version.sh
sentry-raven-3.1.0 .scripts/bump-version.sh
sentry-raven-3.0.4 .scripts/bump-version.sh
sentry-raven-3.0.3 .scripts/bump-version.sh
sentry-raven-3.0.2 .scripts/bump-version.sh
sentry-raven-3.0.1 .scripts/bump-version.sh