Proryanator / encoder-benchmark

A tool to benchmark your hardware's real-time video encoding capabilities.
GNU General Public License v3.0
63 stars 5 forks source link

Update release version in benchmark figlet title #44

Closed e-dong closed 8 months ago

e-dong commented 9 months ago

The following needs to be updated to the latest version. I'm also wondering if permutor-cli should also ref the version when invoking the help flag.

Reference: https://github.com/Proryanator/encoder-benchmark/blob/main/benchmark/src/main.rs#L292

Proryanator commented 9 months ago

Ah yes, we ought to update the release job automatically to update this I think.

What people usually do is, leave the version set to "DEV" in the code but in the release jobs, replace that with the real version right before building.

So development locally will always show "DEV" but, the binaries will say the actual version.

Thanks for posting this! I recall hard coding this and thinking to come back and automate this later 😂