diff --git a/RELEASE.md b/RELEASE.md index 9f32a9a..3f943b3 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -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 ```