Here we go again

This commit is contained in:
2025-03-14 20:37:59 -04:00
parent 2050a9be0e
commit 38a5a95bfd

View File

@@ -46,7 +46,7 @@ extract_version:
image: alpine:latest image: alpine:latest
script: script:
- apk add --no-cache jq - apk add --no-cache jq
- VERSION=$(jq -r '.package.version' Cargo.toml) - VERSION=$(grep 'version = "' Cargo.toml | awk -F'"' '{print $2}' | head -n 1)
- if [ $? -ne 0 ]; then echo "Error extracting version"; exit 1; fi - if [ $? -ne 0 ]; then echo "Error extracting version"; exit 1; fi
- echo "Extracted version: $VERSION" - echo "Extracted version: $VERSION"
- echo "VERSION=$VERSION" > version.env - echo "VERSION=$VERSION" > version.env