From cc945304741c25817067de8f35da61490a477321 Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Wed, 2 Aug 2023 13:15:41 +0200 Subject: [PATCH] Take care that dependency is correctly updated with every release --- .changeset/calm-boats-smoke.md | 5 +++++ .changeset/config.json | 2 +- lib/octicons_helper/Rakefile | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/calm-boats-smoke.md diff --git a/.changeset/calm-boats-smoke.md b/.changeset/calm-boats-smoke.md new file mode 100644 index 000000000..c17fdd92e --- /dev/null +++ b/.changeset/calm-boats-smoke.md @@ -0,0 +1,5 @@ +--- +'@openproject/octicons': patch +--- + +Take care that the gem helper is updated correctly with every release diff --git a/.changeset/config.json b/.changeset/config.json index 752dc9587..223a439c5 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,6 @@ { "$schema": "https://unpkg.com/@changesets/config@1.6.1/schema.json", - "changelog": ["@changesets/changelog-github", {"repo": "primer/octicons"}], + "changelog": ["@changesets/changelog-github", {"repo": "opf/openproject-octicons"}], "commit": false, "linked": [], "access": "public", diff --git a/lib/octicons_helper/Rakefile b/lib/octicons_helper/Rakefile index 918523a4d..b8cb208da 100644 --- a/lib/octicons_helper/Rakefile +++ b/lib/octicons_helper/Rakefile @@ -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