release scripts: implement stub
release scripts: implement stub: a task in smol-software-harbor (Harbor dataset). The bump function in bump.sh is only a placeholder. Implement it: given X.Y.Z and a part ( major , minor or patch ) print the next version, resetting the lower parts to 0 ( bump 1.9.4 minor prints 1.10.0 ); an…
The task
The `bump` function in `bump.sh` is only a placeholder. Implement it: given `X.Y.Z` and a part (`major`, `minor` or `patch`) print the next version, resetting the lower parts to 0 (`bump 1.9.4 minor` prints `1.10.0`); an unknown part prints an error to stderr and returns 2. Check with `bash tests/run.sh`.
Part of efederici/smol-software-harbor.