aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-debian-control-files.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build-debian-control-files.py b/scripts/build-debian-control-files.py
index 5d6aff2..dbfcb38 100755
--- a/scripts/build-debian-control-files.py
+++ b/scripts/build-debian-control-files.py
@@ -56,3 +56,7 @@ subprocess.check_call(("dch", "--create", "--package", args.package, "--newversi
with open("debian/control", "w") as f:
f.write(control_template.format(args = args, conflicts = conflicts))
+
+with open("cryptech_version.py", "w") as f:
+ f.write(args.newversion)
+ f.write("\n")