aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/update-version-workflow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/update-version-workflow.py b/scripts/update-version-workflow.py
index a61aa640b..cebcbf1b4 100644
--- a/scripts/update-version-workflow.py
+++ b/scripts/update-version-workflow.py
@@ -18,7 +18,9 @@ old_rev = ''
if len(_OLD_VERSION) > 1:
old_rev = _OLD_VERSION[1]
-ver = f'{datetime.today():%Y.%m.%d}'
+now = datetime.now()
+# ver = f'{datetime.today():%Y.%m.%d}'
+ver = now.strftime("%Y.%m.%d")
rev = ''
if old_ver == ver: