Creating packages builds on tags push

This commit is contained in:
Zoe Roux 2022-03-23 21:29:45 +01:00
parent 67d5c0abe9
commit 8e3691faea
No known key found for this signature in database
GPG Key ID: 6AA5AE82CCC0D9DD
2 changed files with 2 additions and 6 deletions

View File

@ -106,7 +106,7 @@ jobs:
name: Create debian, rpm & arch releases
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' || contains(github.ref, "tags")
env:
description: "A media browser"
version: v0.0.1 #${{ github.ref }}

View File

@ -20,10 +20,6 @@ jobs:
repo-token: ${{secrets.GITHUB_TOKEN}}
running-workflow-name: release
allowed-conclusions: success,skipped,cancelled,neutral
- name: Generate changelog
uses: mikepenz/release-changelog-builder-action@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Download artifacts
uses: dawidd6/action-download-artifact@v2
with:
@ -43,6 +39,6 @@ jobs:
- name: Create Release
uses: ncipollo/release-action@v1
with:
body: ${{steps.github_release.outputs.changelog}}
generateReleaseNotes: true
artifacts: ./artifacts/**/*
token: ${{secrets.GITHUB_TOKEN}}