We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd8f3c2 commit d706913Copy full SHA for d706913
2 files changed
.github/workflows/push-docker.yml
@@ -86,8 +86,7 @@ jobs:
86
docker exec action-test-fp-main-1 bench version > version.txt
87
88
- name: Formatting and set version variable
89
- run: python ./scripts/tag_image.py
90
-
+ run: python ./.github/workflows/scripts/tag_image.py
91
92
- name: Tag and push
93
run: |
.github/workflows/scripts/tag_image.py
@@ -41,6 +41,9 @@ def get_app_version(apps_version):
41
e = apps_version['erpnext'].split('.')
42
f = apps_version['frappe'].split('.')
43
44
+ if len(f) < 3 or len(e) < 3:
45
+ raise ValueError(f"Expected x.y.z version format. Got frappe={apps_version['frappe']}, erpnext={apps_version['erpnext']}")
46
+
47
# construct version tag
48
# 12-F10.1_E14.3
49
version = '{major}-F{frappe_minor}.{frappe_patch}_E{erpnext_minor}.{erpnext_patch}'.format(
0 commit comments