You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
0 commit comments