mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-22 18:18:57 +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
|
||||
|
||||
|
||||
def get_versions():
|
||||
def get_erpnext_version():
|
||||
erpnext_version = os.getenv("ERPNEXT_VERSION")
|
||||
assert erpnext_version, "No ERPNext version set"
|
||||
return erpnext_version
|
||||
@ -20,7 +20,7 @@ def update_env(erpnext_version: str):
|
||||
|
||||
|
||||
def main() -> int:
|
||||
update_env(*get_versions())
|
||||
update_env(get_erpnext_version())
|
||||
return 0
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user