dominikbraun / timetrace

A simple CLI for tracking your working time.
Apache License 2.0
668 stars 75 forks source link

Snap: Include version information #170

Open dominikbraun opened 2 years ago

dominikbraun commented 2 years ago

Based on #169.

Any version information currently is injected by the CircleCI pipeline when creating a new release. There's no version information within the source code.

However, Snap builds timetrace from source. Therefore, no version information is contained in the binary built via Snap.

We should make the current version available in snapcraft.yaml - maybe by setting an environment variable that will be used for setting the version inside the source code?