diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed93514..af1d42e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,3 @@ - name: Release on: @@ -28,14 +27,14 @@ jobs: # Pack the stadtreinigung_hamburg dir as a zip and upload to the release - name: ZIP stadtreinigung_hamburg Dir run: | - cd ${{ github.workspace }}/custom_components/stadtreinigung_hamburg + cd ${{ github.workspace }}/custom_components/hass_stadtreinigung_hamburg zip stadtreinigung_hamburg.zip -r ./ - name: Upload zip to release uses: svenstaro/upload-release-action@v1-release with: repo_token: ${{ secrets.GITHUB_TOKEN }} - file: ${{ github.workspace }}/custom_components/stadtreinigung_hamburg/stadtreinigung_hamburg.zip + file: ${{ github.workspace }}/custom_components/hass_stadtreinigung_hamburg/stadtreinigung_hamburg.zip asset_name: stadtreinigung_hamburg.zip tag: ${{ github.ref }} - overwrite: true \ No newline at end of file + overwrite: true diff --git a/manage/update_manifest.py b/manage/update_manifest.py index 64585ab..73649ab 100644 --- a/manage/update_manifest.py +++ b/manage/update_manifest.py @@ -12,14 +12,14 @@ def update_manifest(): version = sys.argv[index + 1] with open( - f"{os.getcwd()}/custom_components/stadtreinigung_hamburg/manifest.json" + f"{os.getcwd()}/custom_components/hass_stadtreinigung_hamburg/manifest.json" ) as manifestfile: manifest = json.load(manifestfile) manifest["version"] = version with open( - f"{os.getcwd()}/custom_components/stadtreinigung_hamburg/manifest.json", "w" + f"{os.getcwd()}/custom_components/hass_stadtreinigung_hamburg/manifest.json", "w" ) as manifestfile: manifestfile.write(json.dumps(manifest, indent=4, sort_keys=True))