Touch and exclude tar name

This commit is contained in:
James Cole 2024-03-28 05:53:31 +01:00
parent 53b501ca73
commit a7a54c042c
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -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