Skip to content

Commit

Permalink
Add RELEASE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unchidev committed Oct 15, 2022
1 parent 51f2c2f commit b173d61
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@


## Perform a release

in docekr devcontainer:

```bash
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
```

in host machine:

```bash
bundle install
bundle exec rake build
bundle exec rake release
```

0 comments on commit b173d61

Please sign in to comment.