diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 308c8f4..2615235 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -59,6 +59,7 @@ jobs: # Determine version from Git tags and generate version.js - name: Generate Version run: | + cd VortexEngine TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0") COUNT=$(git rev-list $TAG..HEAD --count) VERSION="${TAG%.*}.$(( ${TAG##*.} + COUNT ))"