From b25f93596ac179c4e71badccccf44651b24d2715 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 13 Oct 2023 10:50:33 +0000 Subject: [PATCH] fixup --- tox.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/tox.ini b/tox.ini index 683bd04b8..eb452c860 100644 --- a/tox.ini +++ b/tox.ini @@ -28,7 +28,6 @@ commands_pre = # DA053 - Charm versioning # (https://docs.google.com/document/d/1Jv1jhWLl8ejK3iJn7Q3VbCIM9GIhp8926bgXpdtx-Sg/edit?pli=1) # is pending review. - cp charm_version charm_version.backup python -c 'import pathlib; import shutil; import subprocess; git_hash=subprocess.run(["git", "describe", "--always", "--dirty"], capture_output=True, check=True, encoding="utf-8").stdout; file = pathlib.Path("charm_version"); shutil.copy(file, pathlib.Path("charm_version.backup")); version = file.read_text().strip(); file.write_text(f"{version}+{git_hash}")' poetry export --only main,charm-libs --output requirements.txt