Fix development releases

This commit is contained in:
WithoutPants 2021-05-01 11:19:21 +10:00 committed by GitHub
parent 4a04dfe4a2
commit 3f0c965400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 8 deletions

View File

@ -84,14 +84,12 @@ jobs:
- name: Development Release - name: Development Release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} 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: with:
token: "${{ secrets.GITHUB_TOKEN }}" repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true prerelease: true
allow_override: true automatic_release_tag: latest_develop
tag: latest_develop title: "${{ env.STASH_VERSION }}: Latest development build"
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!"
files: | files: |
dist/stash-osx dist/stash-osx
dist/stash-win.exe dist/stash-win.exe
@ -100,7 +98,6 @@ jobs:
dist/stash-linux-arm32v7 dist/stash-linux-arm32v7
dist/stash-pi dist/stash-pi
CHECKSUMS_SHA1 CHECKSUMS_SHA1
gzip: false
- name: Master release - name: Master release
if: ${{ github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }} if: ${{ github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }}