me stupid
All checks were successful
Build Project / test (push) Successful in 5m25s

This commit is contained in:
2025-02-06 22:19:48 +00:00
parent 75b99aa9d8
commit 79d42c2760

View File

@@ -44,7 +44,7 @@ jobs:
run: |
VERSION_PATCH=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"')
VERSION_MINOR=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"' | cut -d '.' -f 1,2)
VERSION_MAJOR=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"' | cut -d '.' -f 1,2)
VERSION_MAJOR=$(grep '^version' Cargo.toml | head -n 1 | cut -d ' ' -f 3 | tr -d '"' | cut -d '.' -f 1)
echo "VERSION_PATCH=$VERSION_PATCH" >> $GITEA_ENV
echo "VERSION_MINOR=$VERSION_MINOR" >> $GITEA_ENV
echo "VERSION_MAJOR=$VERSION_MAJOR" >> $GITEA_ENV