Skip to content

Commit

Permalink
Take care that dependency is correctly updated with every release
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Aug 2, 2023
1 parent 0873581 commit cc94530
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-boats-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@openproject/octicons': patch
---

Take care that the gem helper is updated correctly with every release
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", {"repo": "primer/octicons"}],
"changelog": ["@changesets/changelog-github", {"repo": "opf/openproject-octicons"}],
"commit": false,
"linked": [],
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion lib/octicons_helper/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ task :version, [:v] do |t, args|
["octicons_helper.gemspec", "Gemfile"].each do |filename|
gs = File.read(File.expand_path("../#{filename}", __FILE__))
File.open(File.expand_path("../#{filename}", __FILE__), "w") do |file|
file.puts gs.gsub(/"octicons", "[^"]+"/, "\"octicons\", \"#{args[:v]}\"")
file.puts gs.gsub(/"openproject-octicons", "[^"]+"/, "\"openproject-octicons\", \"#{args[:v]}\"")
end
end
end
Expand Down

0 comments on commit cc94530

Please sign in to comment.