diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3cb51d4..7e96b36 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -12,7 +12,7 @@ jobs: id: wine_install run: | apt update -y && apt upgrade -y - apt install -y wine64 nodejs p7zip-full ca-certificates tree + apt install -y wine64 nodejs p7zip-full ca-certificates tree awk jq curl echo "WINE_PATH=$(which wine64)" >> $GITHUB_OUTPUT - name: download godot build libs run: | @@ -47,7 +47,8 @@ jobs: - name: get last release run: | VERSION=$(curl -X 'GET' 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases?page=1&limit=1' -H 'accept: application/json') - VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}'') + VERSION=$(echo $VERSION | jq -r '.[0].tag_name' | awk -F. -v OFS=. '{$NF += 1 ; print}') + echo $VERSION - name: create release run: | curl -X 'POST' \