Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix binaries artifact names when built on tags (#1569)
Our `binaries` workflow builds artifacts for linux and macos of our main executables. On tags, it should produce artifacts named `hydra-<arch>-<os>-<version>.zip` or otherwise the tutorial instructions do not work. Also, we would like to have clean artifacts to be included in release notes. ### Problem For some reason the `git describe` was reporting a version x commits ahead of the previous release, instead of just the name of the latest tag. ### Solution :detective: Fixes version determination by refetching tags before calling `git describe`. :detective: Runs binaries workflow not on every push, but only on PRs, important branches and obviously tags. Fixed workflow on a temporary `0.0.0-test` tag: https://github.com/cardano-scaling/hydra/actions/runs/10417337202 --- * [x] CHANGELOG update not needed * [x] Documentation update not needed * [x] Haddocks update not needed * [x] No new TODOs introduced
- Loading branch information