Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
static: make gen-static-ver work natively on macOS
macOS uses the BSD flavor of `date`, which does not support the `--date` option to set a custom time. Previously, we were using an alpine container to provide a GNU flavor of date, which was a bit of a hack. This patch rewrites the script to work on macOS directly, without the need of a container: ./static/gen-static-ver . v1.2.3-dev 0.0.0-20220404154104-b815498 docker run --rm -v $(pwd):/src -w /src golang bash -c './static/gen-static-ver . v1.2.3-dev' 0.0.0-20220404154104-b815498 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information