Skip to content

Commit

Permalink
Generate release script
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardofhoms committed May 21, 2023
1 parent 8efd5b7 commit 2ab3c49
Show file tree
Hide file tree
Showing 4 changed files with 199 additions and 1,219 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ release:

# Move the initialize call from its current position to within
# the run function, so that flags are accessible immediately.
sed -i 'N;$$!P;D' risks
sed -i '/parse_requirements "$${/a \ \ initialize' risks
sed -i 'N;$$!P;D' risk
sed -i '/parse_requirements "$${/a \ \ initialize' risk

# And reset the settings from prod to dev
sed -i 's#^.*\benv\b.*$$#env: development#' settings.yml

# Signatures
qubes-gpg-client-wrapper --detach-sign risq > risq.gpg
sha256sum risq > risq.sha
qubes-gpg-client-wrapper --detach-sign risk > risk.gpg
sha256sum risk > risk.sha

publish:
@bash scripts/release
Expand Down

0 comments on commit 2ab3c49

Please sign in to comment.