Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

33 lines (26 loc) · 1.01 KB

How to develop

Setup whole environment

If only changing Ruby code, this step is unnecessary

  1. Install Nix package manager and enable Flakes
    Or use Nix installed containers. For example, look at this repo
  2. Run dev shell as one of the following
    • with direnv: direnv allow
    • nix only: nix develop
  3. You can use development tools
> nix develop
(prepared bash)
> dprint --version
...

How to release

  1. Push tags as v0.4.2
  2. Wait for complete the GitHub Actions
  3. Run following commands
    cd "$(mktemp --directory)"
    curl -L https://github.com/kachick/irb-power_assert/releases/latest/download/irb-power_assert.gem > irb-power_assert.gem
    sha256sum irb-power_assert.gem # Make sure it has same hash as GitHub Action printed
    
    gem push irb-power_assert.gem --otp [CHECK_MFTA_TOOL]
  4. Check https://rubygems.org/gems/irb-power_assert