
Same for dhall-jsonand dhall-bash, it is taking the version of the main dhall package the github main tag instead the specific cabal version one for them.
But the version of the executable inside the zip is the correct one (we can check it with the --version cli option).
We have to revise the appveyor script to correct this.
Thanks for the catch! I just fixed the version numbers on them
Shouldn't we still fix the AppVeyor config?
Seems like we need something similar to what we have for Travis:
According to https://www.appveyor.com/docs/getting-started-with-appveyor-for-linux/#bash-and-powershell we could even try re-using these functions.
ugh, i feel a strange itch when i see regular expressions 😄
I think a more generic solution would be to ask for the version to executables being released:
mk_release_name() { echo "$1-$($1 --version )-x86_64-macos.tar.bz2"; }
(or ($1 version), it will great that all executables would have the same way to get it)
If only there were a configuration language that could be used to generate both Cabal files and Bash to keep them both in sync … 🤔
j/k I think using sed is fine. I just couldn't resist the joke 🙂
Heads up that this still hasn't been fixed @Gabriel439 – the .zips still need to be manually renamed! :/
Most helpful comment
If only there were a configuration language that could be used to generate both Cabal files and Bash to keep them both in sync … 🤔
j/k I think using
sedis fine. I just couldn't resist the joke 🙂