mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Our relays aren't semver-versioned like other components. So for the version reported to Sentry, we use the current Git SHA. This one is only available as an ENV variable because we are building within a docker container using `cargo cross`. By default, no env variables are passed through to the container. To fix this, we need to add a configuration file that explicitly opts-in to the necessary ENV variable.
3 lines
91 B
TOML
3 lines
91 B
TOML
[build.env]
|
|
passthrough = ["GITHUB_SHA"] # Allows binaries to embed the current SHA on CI.
|