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:
parent
85c3815ddf
commit
da47c1229e
|
@ -4,3 +4,4 @@ data/
|
||||||
node_modules/
|
node_modules/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
./tusd
|
./tusd
|
||||||
|
tusd_*_*
|
||||||
|
|
|
@ -30,6 +30,7 @@ function makezip {
|
||||||
|
|
||||||
local dir="tusd_${os}_${arch}"
|
local dir="tusd_${os}_${arch}"
|
||||||
zip "$dir.zip" "$dir/tusd$ext" LICENSE.txt README.md
|
zip "$dir.zip" "$dir/tusd$ext" LICENSE.txt README.md
|
||||||
|
sha256sum "$dir.zip" > "$dir.zip.sha256"
|
||||||
}
|
}
|
||||||
|
|
||||||
function maketar {
|
function maketar {
|
||||||
|
@ -40,6 +41,7 @@ function maketar {
|
||||||
|
|
||||||
local dir="tusd_${os}_${arch}"
|
local dir="tusd_${os}_${arch}"
|
||||||
tar -czf "$dir.tar.gz" "$dir/tusd" LICENSE.txt README.md
|
tar -czf "$dir.tar.gz" "$dir/tusd" LICENSE.txt README.md
|
||||||
|
sha256sum "$dir.tar.gz" > "$dir.tar.gz.sha256"
|
||||||
}
|
}
|
||||||
|
|
||||||
function makedep {
|
function makedep {
|
||||||
|
|
Loading…
Reference in New Issue