Embed version information into your applications. Choose your language:
Compiled Languages
Inject version at compile time:
| Language | Mechanism |
|---|
| Go | -ldflags linker injection |
| Rust | option_env!() compile-time |
| C | -D preprocessor defines |
| C++ | -D preprocessor defines |
JVM Languages
Generate source files at build time:
| Language | Mechanism |
|---|
| Java | Template-generated source |
| Kotlin | versionator output emit kotlin |
.NET Languages
| Language | Mechanism |
|---|
| C# | versionator output emit csharp |
| Language | Mechanism |
|---|
| Swift | versionator output emit swift |
Interpreted Languages
Generate version modules:
| Language | Mechanism |
|---|
| Python | versionator output emit python |
| JavaScript | versionator output emit js |
| TypeScript | versionator output emit ts |
| Ruby | versionator output emit ruby |
Containers
| Platform | Mechanism |
|---|
| Docker | Build args + OCI labels |