diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 556f06d..1b77c26 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,13 @@ jobs: contents: write steps: - 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" shell: "bash" diff --git a/custom_components/samsung_soundbar/manifest.json b/custom_components/samsung_soundbar/manifest.json index 2772074..6286798 100644 --- a/custom_components/samsung_soundbar/manifest.json +++ b/custom_components/samsung_soundbar/manifest.json @@ -8,5 +8,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/samuelspagl/ha_samsung_soundbar/issues", "requirements": ["pysmartthings"], - "version": "0.2.0" + "version": "0.3.0b2" }