mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
parent
6e2e4d2143
commit
44d6f237d5
4
.github/scripts/update_example_env.py
vendored
4
.github/scripts/update_example_env.py
vendored
@ -2,7 +2,7 @@ import os
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
def get_versions():
|
def get_erpnext_version():
|
||||||
erpnext_version = os.getenv("ERPNEXT_VERSION")
|
erpnext_version = os.getenv("ERPNEXT_VERSION")
|
||||||
assert erpnext_version, "No ERPNext version set"
|
assert erpnext_version, "No ERPNext version set"
|
||||||
return erpnext_version
|
return erpnext_version
|
||||||
@ -20,7 +20,7 @@ def update_env(erpnext_version: str):
|
|||||||
|
|
||||||
|
|
||||||
def main() -> int:
|
def main() -> int:
|
||||||
update_env(*get_versions())
|
update_env(get_erpnext_version())
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user