CharlieKarafotias / tmgr

A task manager CLI
1 stars 0 forks source link

Automate releases #72

Closed CharlieKarafotias closed 2 months ago

CharlieKarafotias commented 2 months ago

Current release process

  1. Open PR
  2. Review on GitHub
  3. Merge to main
  4. Go back to terminal and build release cargo build -r
  5. Create release on GitHub following convention vx.x.x. For example, 2.0.0 has tag v2.0.0. Attach release binary to this as well.
  6. Publish release

Proposed release process

  1. Open PR
  2. Review and merge PR locally
  3. On merge to main, run the commands cargo build -r && gh release create [<tag>] [<files>...]

Resources:

Questions to figure out:

CharlieKarafotias commented 2 months ago

Still need to merge to main and fix automation. Getting error:

github-release...........................................................Failed
- hook id: github-release
- duration: 0s
- exit code: 1

Executable `version=$(./target/release/tmgr` not found