ci: Generate a sha256sum file for each zip and tar file generated (#543)

* feat: git ignore builds and generated archives

* feat: generate a sha256sum file for each zip and tar file generated
This commit is contained in:
Ole-Martin Bratteng 2021-10-28 09:40:07 +02:00 committed by GitHub
parent 85c3815ddf
commit da47c1229e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ data/
node_modules/
.DS_Store
./tusd
tusd_*_*

View File

@ -30,6 +30,7 @@ function makezip {
local dir="tusd_${os}_${arch}"
zip "$dir.zip" "$dir/tusd$ext" LICENSE.txt README.md
sha256sum "$dir.zip" > "$dir.zip.sha256"
}
function maketar {
@ -40,6 +41,7 @@ function maketar {
local dir="tusd_${os}_${arch}"
tar -czf "$dir.tar.gz" "$dir/tusd" LICENSE.txt README.md
sha256sum "$dir.tar.gz" > "$dir.tar.gz.sha256"
}
function makedep {