Skip to content

Commit acacc6b

Browse files
authored
Merge pull request #477 from nix-community/fix/create-release
create-release: use GNU sed on macOS
2 parents 85bed16 + 9239a27 commit acacc6b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

+1-1
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

+3-2
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)