SetVersion sets the compiler version. Call once during CLI initialization. The version is used in generated workflow headers and as the default version for new Compiler instances created via NewCompiler.
(v string)
| 26 | // The version is used in generated workflow headers and as the default version |
| 27 | // for new Compiler instances created via NewCompiler. |
| 28 | func SetVersion(v string) { |
| 29 | versionLog.Printf("Setting compiler version: %s", v) |
| 30 | compilerVersion = v |
| 31 | } |
| 32 | |
| 33 | // GetVersion returns the current compiler version. |
| 34 | func GetVersion() string { |