update release.yaml

This commit is contained in:
samuelspagl 2024-02-09 07:46:04 +01:00
parent 735fd53644
commit a28def5313
2 changed files with 8 additions and 2 deletions

View File

@ -15,7 +15,13 @@ jobs:
contents: write contents: write
steps: steps:
- name: "Checkout the repository" - name: "Checkout the repository"
uses: "actions/checkout@v3.5.3" uses: "actions/checkout@v4.1.0"
- name: "Adjust version number"
shell: "bash"
run: |
yq -i -o json '.version="${{ github.event.release.tag_name }}"' \
"${{ github.workspace }}/custom_components/samsung_soundbar/manifest.json"
- name: "ZIP the integration directory" - name: "ZIP the integration directory"
shell: "bash" shell: "bash"

View File

@ -8,5 +8,5 @@
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"issue_tracker": "https://github.com/samuelspagl/ha_samsung_soundbar/issues", "issue_tracker": "https://github.com/samuelspagl/ha_samsung_soundbar/issues",
"requirements": ["pysmartthings"], "requirements": ["pysmartthings"],
"version": "0.2.0" "version": "0.3.0b2"
} }