Skip to content

Commit

Permalink
ci: Generate a sha256sum file for each zip and tar file generated (#543)
Browse files Browse the repository at this point in the history
* feat: git ignore builds and generated archives

* feat: generate a sha256sum file for each zip and tar file generated
  • Loading branch information
omBratteng authored Oct 28, 2021
1 parent 85c3815 commit da47c12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ data/
node_modules/
.DS_Store
./tusd
tusd_*_*
2 changes: 2 additions & 0 deletions scripts/build_funcs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit da47c12

Please sign in to comment.