Skip to content

Commit

Permalink
Add name of tar-file to sha-file for ease of use (#210)
Browse files Browse the repository at this point in the history
This enables the use of sha256sum -c for more comfortable check

Co-authored-by: Joakim Tengstrand <joakimtengstrand@gmail.com>
  • Loading branch information
TimoKramer and tengstrand authored May 7, 2022
1 parent 3131e8b commit 22e0708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,5 @@
(str/split #" ")
(first))]
(println (str "Shasum for " project ": " sha-sum))
(spit (str "artifacts/" tar-file ".sha256") sha-sum))
(spit (str "artifacts/" tar-file ".sha256") (str sha-sum " " tar-file)))
(b/delete {:path (str "artifacts/" project)})))))

0 comments on commit 22e0708

Please sign in to comment.