Skip to content

Commit 9239a27

Browse files
committed
create-release: use GNU sed on macOS
1 parent dbabbf2 commit 9239a27

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
result
1+
result*
22
/.direnv
33
/docs/book

scripts/create-release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#!/usr/bin/env bash
1+
#!/usr/bin/env nix
2+
#! nix shell nixpkgs#bash nixpkgs#gnused --command bash
23

3-
set -eu -o pipefail
4+
set -euo pipefail
45

56
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
67
cd "$SCRIPT_DIR/.."

0 commit comments

Comments
 (0)