From 1d4467433568d0a81d373d223352cdd849b28c1e Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 9 Dec 2024 02:44:52 -0500 Subject: [PATCH] v1.10.8 --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5dd6bdbe..3ebc493e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,8 +1,9 @@ name: Release on: push: + tags: + - v* branches: - - main - dev env: FORCE_COLOR: true @@ -68,10 +69,16 @@ jobs: rm release/package.json rm release/*.map + - name: get-npm-version + if: ${{ github.ref_name == 'main' }} + id: package-version + uses: martinbeentjes/npm-get-version-action@v1.3.1 + - name: Upload Equicord Stable if: ${{ github.ref_name == 'main' }} run: | - gh release upload latest --clobber dist/release/* + gh release create ${{ steps.package-version.outputs.current-version}} --latest=false + gh release upload ${{ steps.package-version.outputs.current-version}} --clobber dist/release/* - name: Upload Equicord Dev if: ${{ github.ref_name == 'dev' }}