Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Xerolux authored Sep 26, 2024
1 parent d01688f commit 2e21f96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
release:
types:
- "published"
workflow_dispatch: # Fügt die Möglichkeit hinzu, den Workflow manuell zu starten

permissions: {}

Expand All @@ -20,7 +21,7 @@ jobs:
- name: "Adjust version number"
shell: "bash"
run: |
yq -i -o json '.version="${{ github.event.release.tag_name }}"' \
yq -i -o json '.version="${{ github.event.release.tag_name || github.ref_name }}"' \
"${{ github.workspace }}/custom_components/violet_pool_controller/manifest.json"
- name: "ZIP the integration directory"
Expand Down

0 comments on commit 2e21f96

Please sign in to comment.