From ad10789e60b80d23cc6fc9bad4ea7170e1a0b243 Mon Sep 17 00:00:00 2001 From: Pakobbix Date: Sat, 13 May 2023 23:11:26 +0200 Subject: [PATCH] removed the tag stuff, cause it isn't working as I hoped. (Still learning github actions) --- .github/workflows/package.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 213cd54..84fe1d8 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -25,17 +25,6 @@ jobs: pip install -r requirements.txt pip install pyinstaller - - name: Get Last Tag - id: last_tag - run: echo "::set-output name=tag::$(git describe --abbrev=0 --tags)" - - - name: Increment Tag - id: incremented_tag - run: | - tag=${{ steps.last_tag.outputs.tag }} - incremented_tag=$(python -c "version_parts = tag.split('.'); version_parts[-1] = str(float(version_parts[-1]) + 0.1); print('.'.join(version_parts))") - echo "::set-output name=tag::$incremented_tag" - - name: Build and package run: | pyinstaller --noconfirm --onefile --windowed StartUI.py @@ -44,5 +33,5 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v2 with: - name: ${{ matrix.os }}-binary-v${{ steps.incremented_tag.outputs.tag }} + name: ${{ matrix.os }}-binary-v1.1 path: dist