Separate staff roles and protect message delivery with operator guides
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,7 +10,8 @@ def build_release(destination=None):
|
||||
destination = Path(destination or ROOT / "dist" / "lottery.tar.gz")
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
allowed = ["src", "migrations", "scripts", "main.py", "requirements.txt", "alembic.ini",
|
||||
"Dockerfile", "docker-compose.yml", ".dockerignore"]
|
||||
"Dockerfile", "docker-compose.yml", ".dockerignore", "docs/ADMIN_GUIDE.md",
|
||||
"docs/CASHIER_GUIDE.md", "docs/SYSTEM_ADMIN_GUIDE.md"]
|
||||
with tarfile.open(destination, "w:gz") as archive:
|
||||
for name in allowed:
|
||||
entry = ROOT / name
|
||||
|
||||
Reference in New Issue
Block a user