Skip to content

Commit 09027fd

Browse files
committed
Use compile datetime as version
1 parent 543185b commit 09027fd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ executable: $(VENV_BIN_ACTIVATE)
158158
--output-dir=dist \
159159
--report=compilation-report.xml \
160160
--output-filename=codexctl \
161+
--product-version=$(shell date +%Y.%m.%d) \
162+
--file-version=$(shell date +%H.%M.%S) \
161163
$(CODEXCTL_FLAGS) \
162164
main.py
163165

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# nuitka-project: --noinclude-unittest-mode=allow
88
# nuitka-project: --nofollow-import-to=setuptools
99
# nuitka-project-if: {OS} == "Darwin":
10-
# nuitka-project: --onefile-tempdir-spec="{CACHE_DIR}/codexctl/{TIME}"
10+
# nuitka-project: --onefile-tempdir-spec="{CACHE_DIR}/codexctl/{VERSION}"
1111

1212
from codexctl import main
1313

0 commit comments

Comments
 (0)