mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 20:15:07 +08:00
Add note in code so one does not forget next time
This commit is contained in:
parent
e1ed4bc750
commit
54240db495
@ -1,6 +1,9 @@
|
|||||||
use vergen::{vergen, Config, SemverKind};
|
use vergen::{vergen, Config, SemverKind};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
// Note: any code that needs VERGEN_ environment variables should take care to define them manually in the Dockerfile and pass them
|
||||||
|
// in the corresponding GitHub workflow (publish_docker.yml).
|
||||||
|
// This is due to the Dockerfile building the binary outside of the git directory.
|
||||||
let mut config = Config::default();
|
let mut config = Config::default();
|
||||||
// allow using non-annotated tags
|
// allow using non-annotated tags
|
||||||
*config.git_mut().semver_kind_mut() = SemverKind::Lightweight;
|
*config.git_mut().semver_kind_mut() = SemverKind::Lightweight;
|
||||||
|
Loading…
Reference in New Issue
Block a user