From 3f0c9654001b9a3ab4ad4c9900ce172f8850d4f6 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Sat, 1 May 2021 11:19:21 +1000 Subject: [PATCH] Fix development releases --- .github/workflows/build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7a90be6f4..3aff928c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,14 +84,12 @@ jobs: - name: Development Release if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} - uses: meeDamian/github-release@2.0 + uses: marvinpinto/action-automatic-releases@v1.1.2 with: - token: "${{ secrets.GITHUB_TOKEN }}" + repo_token: "${{ secrets.GITHUB_TOKEN }}" prerelease: true - allow_override: true - tag: latest_develop - name: "${{ env.STASH_VERSION }}: Latest development build" - body: "**${{ env.RELEASE_DATE }}**\n This is always the latest committed version on the develop branch. Use as your own risk!" + automatic_release_tag: latest_develop + title: "${{ env.STASH_VERSION }}: Latest development build" files: | dist/stash-osx dist/stash-win.exe @@ -100,8 +98,7 @@ jobs: dist/stash-linux-arm32v7 dist/stash-pi CHECKSUMS_SHA1 - gzip: false - + - name: Master release if: ${{ github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }} uses: meeDamian/github-release@2.0