From 3297406a6f4642d616a202eff532fd7bdb50f2ce Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Wed, 5 Apr 2023 13:23:21 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.gitea/workflows/build.yml=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' \