Commit graph

17 commits

Author SHA1 Message Date
Guillaume Desmottes
2341f73106 version-helper: always assume we are in a release if not in git
No longer need to have a 'release.txt' file in tarballs.
2020-04-03 20:17:59 +03:00
Guillaume Desmottes
6607377496 version-helper: stop using git2
The crate pulls openssl-sys which is an annoying dep to build.

Fix #103
2020-04-03 20:17:59 +03:00
Guillaume Desmottes
0e42c6b9b1 version-helper: git: return the commit date as well 2020-04-03 20:17:59 +03:00
Guillaume Desmottes
bbdf90d67c version-helper: copy git.rs from gtk-rs/gir
Bare copy from https://github.com/gtk-rs/gir/blob/master/src/git.rs
2020-04-03 20:17:59 +03:00
Brian Gonzalez
e0695b637f Fall back to default unknown COMMIT_ID and BUILD_REL_DATE if unable to find commit in repo 2020-03-29 20:54:56 -04:00
François Laignel
bdadf25f5c Clippy pass 2019-12-19 20:44:00 +01:00
Sebastian Dröge
ef8adbf113 gst-plugin-version-helper: Update git2 dependency to 0.11 2019-12-18 07:42:00 +02:00
Sebastian Dröge
120481269b gst-plugin-version-helper: Update git2 dependency to 0.10 2019-09-04 12:20:55 +03:00
Sebastian Dröge
8b4f0f91a9 version-helper: Take CARGO_MANIFEST_DIR at runtime, not at compile-time
Otherwise we'll always look at the directory of the version-helper crate
instead of the crate that is actually compiled.
2019-07-07 13:36:48 +03:00
Sebastian Dröge
d0e5868880 version-helper: Add documentation 2019-07-07 13:36:48 +03:00
Sebastian Dröge
107183ad57 version-helper: Don't build the toml crate with all default features
We don't need to build serde, etc for our uses and it increases build
times quite a bit.
2019-07-07 13:36:48 +03:00
Sebastian Dröge
7ab4aff180 version-helper: Get ready for a release on crates.io 2019-07-07 13:36:48 +03:00
Sebastian Dröge
50730574ba version-helper: Check first for a git repository in the manifest dir and only then one directory up
This allows using the crate also in git repositories that contain a
single GStreamer plugin and not only in Cargo workspaces.
2019-07-07 13:36:48 +03:00
Sebastian Dröge
7e93c20b38 version-helper: Extract release version for plugins from a release.txt if there is no git repository
This will allow us packaging the plugins in a tarball and generate
proper plugin metadata.
2019-07-07 13:36:48 +03:00
Sebastian Dröge
b4efa42d8f Fix various clippy warnings 2019-07-04 18:56:33 +03:00
Sebastian Dröge
294a888978 Update git2 dependency to 0.9 2019-06-24 21:22:35 +03:00
ahamedsajeer.15
dc45b7f8ac Add build.rs that provides a version number, release date and other details 2019-06-03 11:11:29 +00:00