Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss authored Nov 10, 2023
1 parent e6e4476 commit 324a711
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
runs-on: "ubuntu-latest"
permissions:
contents: write
id-token: write
steps:
- name: "Checkout the repository"
uses: "actions/checkout@v4.1.1"
Expand All @@ -21,6 +22,8 @@ jobs:
shell: "bash"
run: |
version="${{ github.event.release.tag_name }}"
version="${version,,}"
version="${version#v}"
yq e -P -o=json \
-i ".version = \"${version}\"" \
"${{ github.workspace }}/custom_components/adaptive_cover/manifest.json"
Expand Down

0 comments on commit 324a711

Please sign in to comment.