Skip to content
eldesh edited this page Oct 28, 2019 · 5 revisions

Welcome to the libv4l-sys wiki!

Release Sequence

  1. Read official document
  2. Put your API token to ~/.cargo/credentials
  3. Make a release branch
    $ git checkout -b release/x.y.z
    
  4. Bump up version
    1. Update Cargo.toml > version
    2. cargo build (updating Cargo.lock)
  5. Check test passing
    $ cargo build
    $ cargo doc
    $ cargo test
    
  6. Check packaging passing
    $ cargo package
    
  7. Push the branch
    $ git push release/x.y.z
    
  8. Make a pull request
  9. Merge the pull request
  10. Add a new tag
    $ git tag vX.Y.Z
    
  11. Clone to the new working directory
    $ git clone file:///home/idein/libv4l-sys new-libv4l-sys
    $ cd new-libv4l-sys
    $ git checkout vX.Y.Z
    
  12. Packaging (at new working dir)
    new-libv4l-sys$ cargo package
    
  13. Calm down
    new-libv4l-sys$ cargo publish --dry-run
    
  14. Publish (at new working dir)
    new-libv4l-sys$ cargo publish
    
  15. 🎉
Clone this wiki locally