Skip to content

Commit

Permalink
Task: Have checksums be generated for files released on Github
Browse files Browse the repository at this point in the history
When releasing the generated tars on github, we should release a
checksum file alongside it. Have a dist target for the Makefile that
will tar up the actionpacks and create a checksum file as well for them

Change-Id: I17a0c562a698f1cd5d6914cc9b23dbfd39210b6a
  • Loading branch information
cianmcgrath committed Apr 28, 2023
1 parent 5dfc684 commit 00985ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Use of this source code is governed by the Apache License 2.0
# that can be found in the COPYING file.

.PHONY: actionpacks lint
.PHONY: actionpacks dist lint

lint:
flake8
Expand All @@ -19,4 +19,7 @@ actionpacks:
actionpacks-mac:
mkdir -p gen
find . -mindepth 1 -maxdepth 1 -name "*action-pack" -type d -execdir tar --disable-copyfile -cf {}.tar {} \;
mv *.tar gen
mv *.tar gen

dist: actionpacks
cd gen && sha256sum * > CHECKSUMS.sha256

0 comments on commit 00985ab

Please sign in to comment.