Skip to content

Commit

Permalink
Use bundler task helpers to release solidus_admin
Browse files Browse the repository at this point in the history
This is temporary and will last until we get out of v0.x.
  • Loading branch information
elia committed Sep 26, 2023
1 parent 9a78c1c commit 2b7127c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions admin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions admin/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/'

0 comments on commit 2b7127c

Please sign in to comment.