Versioning consistency and bump both the XPI and backend to version 0.2.0
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
id: release
|
||||
run: |
|
||||
python3 scripts/release/validate_release.py --github-output "$GITHUB_OUTPUT"
|
||||
backend_version=$(python3 -c "import re; text=open('backend/app/core/config.py').read(); print(re.search(r\"version: str = os\\.getenv\\('LINKLOG_VERSION', '([^']+)'\\)\", text).group(1))")
|
||||
backend_version=$(python3 -c "import json; print(json.load(open('frontend/version.json'))['version'])")
|
||||
if [ "${GITHUB_REF_NAME#v}" != "$backend_version" ]; then
|
||||
echo "tag ${GITHUB_REF_NAME} does not match backend version $backend_version" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user