From 89f9dfd05edf48a183fcf3f502b9503db00e211e Mon Sep 17 00:00:00 2001 From: mdeweerd Date: Fri, 6 Oct 2023 02:51:14 +0200 Subject: [PATCH] Modify release script --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6930dc2..d6aee40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,12 +14,14 @@ jobs: - name: Check out repository uses: actions/checkout@v4 - - name: Get version - id: version - uses: home-assistant/actions/helpers/version@master + # - name: Get version + # id: version + # uses: home-assistant/actions/helpers/version@master - name: Set version number - run: python3 ${{ github.workspace }}/.github/scripts/update_hacs_manifest.py --version ${{ steps.version.outputs.version }} + run: | + python3 ${{ github.workspace }}/.github/scripts/update_hacs_manifest.py --version ${{ github.ref_name }} + - name: Create zip run: | cd custom_components/zha_toolkit