From 895fd8dd3526d9ce07556a888221cbf46adb04c4 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Wed, 5 Apr 2023 13:28:14 +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, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a15fbba..b44817a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -44,13 +44,10 @@ jobs: tree builds echo "---" echo - - name: get last release + - name: create 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}') - echo $VERSION - - name: create release - run: | curl -X 'POST' \ 'https://git.euph.dev/api/v1/repos/${{ github.repository }}/releases' \ -H 'accept: application/json' \