Extended the hash

This commit is contained in:
2025-03-14 21:24:58 -04:00
parent d6a8f865c4
commit bef3a376bd

View File

@@ -47,7 +47,7 @@ extract_version:
script: script:
- apk add --no-cache jq - apk add --no-cache jq
- VERSION=$(grep 'version = "' Cargo.toml | awk -F'"' '{print $2}' | head -n 1) - VERSION=$(grep 'version = "' Cargo.toml | awk -F'"' '{print $2}' | head -n 1)
- VER_HASH=${CI_COMMIT_SHA:0:5} - VER_HASH=${CI_COMMIT_SHA:0:10}
- VERSION="$VERSION-$VER_HASH" - VERSION="$VERSION-$VER_HASH"
- 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 is" - echo "Extracted version is"