diff --git a/hack/make-release-artifacts.sh b/hack/make-release-artifacts.sh index 507277c..10fcb25 100755 --- a/hack/make-release-artifacts.sh +++ b/hack/make-release-artifacts.sh @@ -41,6 +41,10 @@ print_autogenerated_warning() { EOF } +# define gsed as a function on Linux for compatibility +[ "$(uname -s)" == "Linux" ] && gsed() { + sed "$@" +} read_manifests() { local dir