diff --git a/.bazelignore b/.bazelignore index 4ae507f..b8a84c1 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,2 +1,2 @@ -.cache +.cache/bazel examples diff --git a/.github/workflows/release_prep.sh b/.github/workflows/release_prep.sh index 8a71327..b646764 100755 --- a/.github/workflows/release_prep.sh +++ b/.github/workflows/release_prep.sh @@ -6,9 +6,8 @@ TAG="${GITHUB_REF_NAME}" PREFIX="rules_build_error-${TAG}" ARCHIVE="rules_build_error-${TAG}.tar.gz" -git archive --format=tar "--prefix=${PREFIX}/" "${TAG}" | \ - gzip \ - > "${ARCHIVE}" +git ls-files -z | \ + tar --transform "s|^|${PREFIX}/|" --null -czhf "${ARCHIVE}" --files-from=- # StdOut of this script is used for release description cat << EOF