From a7a54c042ce6d60d5cacccd539fdef506761d7d3 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 28 Mar 2024 05:53:31 +0100 Subject: [PATCH] Touch and exclude tar name --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 422c4ae2c8..f2c2aa6a80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,7 +161,8 @@ jobs: # zip and tar everything zip -rq $zipName . -x "*.git*" "*.ci*" "*.github*" "*node_modules*" "*output.txt*" - tar --exclude='./.git' --exclude='./.ci' --exclude='./.github' --exclude='./node_modules' --exclude='./output.txt' -czf $tarName . + touch $tarName + tar --exclude=$tarName --exclude='./.git' --exclude='./.ci' --exclude='./.github' --exclude='./node_modules' --exclude='./output.txt' -czf $tarName . # add sha256 sum sha256sum -b $zipName > $zipName.sha256