From c3df77312354c7237fa121f4b8307a2045e55540 Mon Sep 17 00:00:00 2001 From: Julian Kniephoff Date: Tue, 20 Aug 2024 16:43:30 +0200 Subject: [PATCH] Fix the release script for macOS `date --utc` is not POSIX and macOS doesn't have it. `-u` is the standard equivalent. --- .github/build-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/build-release.sh b/.github/build-release.sh index 1e1c47cf4..6d5a043f4 100755 --- a/.github/build-release.sh +++ b/.github/build-release.sh @@ -6,7 +6,7 @@ export PUBLIC_URL=/editor-ui export VITE_APP_SETTINGS_PATH="/ui/config/editor/editor-settings.toml" npm run build -FILENAME="oc-editor-$(date --utc +%F).tar.gz" +FILENAME="oc-editor-$(date -u +%F).tar.gz" cd build TMP="$(mktemp)" mv editor-settings.toml "$TMP"