Skip to content

Commit

Permalink
Fix the release script for macOS
Browse files Browse the repository at this point in the history
`date --utc` is not POSIX and macOS doesn't have it.
`-u` is the standard equivalent.
  • Loading branch information
JulianKniephoff committed Aug 20, 2024
1 parent d981113 commit c3df773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c3df773

Please sign in to comment.