Skip to content

Commit

Permalink
update RELEASE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unchidev committed Nov 24, 2024
1 parent f0915c0 commit 96caa23
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@


## Perform a release

```bash
git checkout -b release/vx.x.x
```

in docekr devcontainer:

```bash
cd /workspace && bundle install
bundle install
bundle clean --force

cd /workspace && bundle exec bump patch --no-commit
bundle exec bump patch --no-commit
# or
cd /workspace && bundle exec bump minor --no-commit
bundle exec bump minor --no-commit
# or
cd /workspace && bundle exec bump major --no-commit

cd /workspace && bundle exec rspec
cd /workspace/spec/dummy && RAILS_ENV=test bundle exec rails mermaid_erd
bundle exec bump major --no-commit

cd /workspace/spec/dummy
RAILS_ENV=test bundle exec rails db:setup
cd /workspace/
bundle exec rspec
cd /workspace/spec/dummy
RAILS_ENV=test bundle exec rails mermaid_erd
cp -f /workspace/spec/dummy/mermaid_erd/index.html /workspace/docs/example.html
chromium-browser --headless --disable-gpu --no-sandbox --window-size=1200,800 --hide-scrollbars --screenshot="/workspace/docs/screen_shot.png" /workspace/spec/dummy/mermaid_erd/index.html
```
Expand Down

0 comments on commit 96caa23

Please sign in to comment.