Sign inSign up

mverleg/next_semver

By mverleg

•Updated over 1 year ago

Send your current version and the type of bump you want, and you get back the new version.

Image
0

1.5K

mverleg/next_semver repository overview

⁠Next semver

This is an extremely simple service. You send it your current version and the type of bump you want, and you get back the new version.

  • /minor/1.2.4 -> 1.3.0
  • /patch/0.3.7-alpha -> 0.3.8-alpha

I have this as a http endpoint to keep my CI pipelines code-free.

⁠Code

Github for code & reporting issues: https://github.com/mverleg/next_semver⁠ (Apache open source license).

⁠Webservice

No guarantees about uptime, but I intend to have the service mostly available at next.tryin.top⁠. Example:

curl -f https://next.tryin.top/minor/v1.2.4
# 1.3.0

⁠Run locally

You can run with just Docker (the image is 2MB):

docker run -p8080:8080 -it mverleg/next_semver:latest

Or you can build it yourself with Cargo, after checking out the code:

ROCKET_ADDRESS="0.0.0.0" ROCKET_PORT=8080 cargo run --features=web --bin next_semver    

⁠Crate

The crate is available as next_semver⁠ and can be used as a library (without web dependencies).

Tag summary

Content type

Image

Digest

sha256:4f8e0bcd3…

Size

2.2 MB

Last updated

over 1 year ago

docker pull mverleg/next_semver