Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 731 Bytes

RELEASE.md

File metadata and controls

28 lines (20 loc) · 731 Bytes

Perform a release

in docekr devcontainer:

cd /workspace && bundle install

cd /workspace && bundle exec bump patch --no-commit
# or
cd /workspace && 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
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

in host machine:

bundle install
bundle exec rake build
bundle exec rake release