refactor: 🎨 create release
This commit is contained in:
@@ -17,7 +17,6 @@ app.config['MYSQL_DATABASE'] = os.environ.get('MYSQL_DATABASE', 'ipam')
|
|||||||
|
|
||||||
@app.context_processor
|
@app.context_processor
|
||||||
def inject_env_vars():
|
def inject_env_vars():
|
||||||
# Read version from VERSION file
|
|
||||||
version = 'unknown'
|
version = 'unknown'
|
||||||
try:
|
try:
|
||||||
version_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'VERSION')
|
version_file = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'VERSION')
|
||||||
|
|||||||
Reference in New Issue
Block a user