From 812d0007f9ae920d045628c33f2b162e374eb20c Mon Sep 17 00:00:00 2001 From: Jim Gay Date: Mon, 1 Jul 2024 18:56:21 -0400 Subject: [PATCH] Add reissue to manage releases --- Gemfile | 3 ++- Gemfile.lock | 5 ++++- Rakefile | 9 ++++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index da37df8..d181e80 100644 --- a/Gemfile +++ b/Gemfile @@ -8,4 +8,5 @@ gem "debug" gem "rake" gem "minitest" gem "simplecov" -gem "simplecov-json" \ No newline at end of file +gem "simplecov-json" +gem "reissue" \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index f100532..1d448ad 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -16,6 +16,8 @@ GEM json (2.6.3) minitest (5.18.0) rake (13.0.6) + reissue (0.1.7) + rake reline (0.3.3) io-console (~> 0.5) simplecov (0.22.0) @@ -29,13 +31,14 @@ GEM simplecov_json_formatter (0.1.4) PLATFORMS - ruby + arm64-darwin-23 DEPENDENCIES chat_notifier! debug minitest rake + reissue simplecov simplecov-json diff --git a/Rakefile b/Rakefile index 3823e26..6494b76 100644 --- a/Rakefile +++ b/Rakefile @@ -15,4 +15,11 @@ task :self do ENV["NOTIFY_APP_NAME"] = "Chat Notifier" end -Rake::Task["test"].enhance(["self"]) \ No newline at end of file +Rake::Task["test"].enhance(["self"]) + +require "reissue/gem" + +Reissue::Task.create :reissue do |task| + # Required: The file to update with the new version number. + task.version_file = "lib/chat_notifier/version.rb" +end \ No newline at end of file