Commit 1f7396a9 authored by René Schöne's avatar René Schöne
Browse files

Read version for pages using plain python

parent fb257702
Pipeline #9734 passed with stages
in 10 minutes and 1 second
import subprocess
ragconnectVersionFileName = '../ragconnect.base/src/main/resources/'
def get_version():
proc ='./gradlew printVersion --quiet',
return proc.stdout
with open(ragconnectVersionFileName) as ragconnectVersionFile:
versionFileContent =
return versionFileContent[versionFileContent.rindex('version=') + 8:].strip()
def define_env(env):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment