Skip to content

Commit

Permalink
fix: fix directory in zip
Browse files Browse the repository at this point in the history
Zip should now appropriately unzip in tesla_custom
  • Loading branch information
alandtse committed Apr 30, 2021
1 parent 79fa9d8 commit d8b4fc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Zip tesla dir
run: |
cd /home/runner/work/tesla/tesla/custom_components/tesla_custom
zip tesla.zip -r ./
zip tesla_custom.zip -r ./
- name: Set release variable
run: |
echo "release_version=`git describe --abbrev=0`" >> $GITHUB_ENV
Expand All @@ -67,8 +67,8 @@ jobs:
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GH_TOKEN }}
file: /home/runner/work/tesla/tesla/custom_components/tesla_custom/tesla.zip
asset_name: tesla.zip
file: /home/runner/work/tesla/tesla/custom_components/tesla_custom/tesla_custom.zip
asset_name: tesla_custom.zip
tag: ${{ env.release_version }}
overwrite: true
- name: Push changes to dev
Expand Down
4 changes: 2 additions & 2 deletions hacs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"iot_class": "Cloud Polling",
"homeassistant": "2021.4.0",
"zip_release": true,
"filename": "tesla.zip"
}
"filename": "tesla_custom.zip"
}

0 comments on commit d8b4fc6

Please sign in to comment.