From 96caa23c0b57b28d48799be987b28f5abd9fa410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=92=A9?= <69432552+unchidev@users.noreply.github.com> Date: Sun, 24 Nov 2024 09:52:36 +0900 Subject: [PATCH] update RELEASE.md --- RELEASE.md | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) 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 ```