Skip to content

Commit

Permalink
fix: Release.tag_name already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kurosakishigure committed Dec 30, 2024
1 parent fdc123d commit 1032abb
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,22 @@ on:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+', 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+' ]

jobs:
create-release-note:
permissions:
contents: write
runs-on: ubuntu-latest
name: Create release note
steps:
- name: Publishing release note
uses: softprops/action-gh-release@v2
with:
prerelease: ${{ contains(github.ref_name, 'canary') }}
generate_release_notes: true

publish:
permissions:
contents: write
needs: create-release-note
name: Publishing for ${{ matrix.job.os }}
runs-on: ${{ matrix.job.os }}
strategy:
Expand Down Expand Up @@ -85,8 +98,6 @@ jobs:
- name: Releasing assets
uses: softprops/action-gh-release@v2
with:
prerelease: ${{ contains(github.ref_name, 'canary') }}
generate_release_notes: true
files: |
katharsis-*-${{ matrix.job.target }}.*
katharsis*.deb

0 comments on commit 1032abb

Please sign in to comment.