Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-06 | version.sh: fix empty result when git describe fails | rofl0r | |
fixes an error in travis, which makes a shallow clone of 50 commits. if the last tag is older than 50 commits, we get: "fatal: No names found, cannot describe anything." this caused a premature exit due to an assert error in safe_write() on this line: assert (count > 0); because the version variable in tinyproxy was empty. | |||
2018-09-05 | build: add new version mechanism based on VERSION file and a version.sh script | Michael Adam | |
If this is a git checkout, and git is available, then git describe is used. Otherwise, the new checked in VERSION file is taken for the version. This mechanism uses a version.sh script inspired by http://git.musl-libc.org/cgit/musl/tree/tools/version.sh Signed-off-by: Michael Adam <obnox@samba.org> |