From 2b7127cb2508bcfeecd8f425260665eb33775bcc Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Tue, 26 Sep 2023 17:55:54 +0200 Subject: [PATCH] Use bundler task helpers to release solidus_admin This is temporary and will last until we get out of v0.x. --- admin/README.md | 7 +++++++ admin/Rakefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/admin/README.md b/admin/README.md index 906e6716e0e..f3597311e39 100644 --- a/admin/README.md +++ b/admin/README.md @@ -22,3 +22,10 @@ bin/rails admin g solidus_admin:component foo create app/components/solidus_admin/foo/component.js create spec/components/solidus_admin/foo/component_spec.rb ``` + +## Releasing + +1. Update the version in `lib/solidus_admin/version.rb` +2. Commit the changes with the message `Release v1.2.3` +3. `cd admin; bundle exec rake release` +4. Manually release on GitHub diff --git a/admin/Rakefile b/admin/Rakefile index ccb6eea4435..e4170fed801 100644 --- a/admin/Rakefile +++ b/admin/Rakefile @@ -16,3 +16,6 @@ DummyApp::RakeTasks.new( ) task test_app: 'db:reset' + +# Namespace release tags, e.g. 'solidus_admin/v1.2.3' +Bundler::GemHelper.tag_prefix = 'solidus_admin/'