Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
owaiswiz committed Mar 16, 2024
1 parent a70715c commit 7559991
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions bin/update_icons
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,10 @@ rescue StandardError => e
puts svg
raise e
end

version = tag_name.gsub('v', '')

# Replace the version in the gem (in lib/tabler_icons_ruby/version.rb)
version_file = File.read('lib/tabler_icons_ruby/version.rb')
new_version_file = version_file.gsub(/VERSION = ['"].*['"]/, "VERSION = \"#{version}\"")
File.write('lib/tabler_icons_ruby/version.rb', new_version_file)
2 changes: 1 addition & 1 deletion lib/tabler_icons_ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TablerIconsRuby
VERSION = "1.2.0"
VERSION = "3.1.0"
end

0 comments on commit 7559991

Please sign in to comment.