repo: Automated local repository builder

This commit is contained in:
Thomas Hobson 2021-02-21 12:58:18 +13:00
parent 816efaff3b
commit 60b258f57c
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
3 changed files with 15 additions and 6 deletions

12
repo/make.sh Normal file → Executable file
View file

@ -1,7 +1,13 @@
#!/bin/bash
#!/bin/bash -e
cd /repo
cat password.key | gpg --batch --import private.key
# Make packages
pushd ../packages/python
cat password.key | make sign VERSIONS=3.9.1 && make cleanup
make build VERSIONS=3.9.1
popd
# Make repo index
./mkindex.sh