File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ jobs:
4444
4545 - name : Create release archives
4646 run : |
47- # Create zip with content at root (for HACS)
48- cd custom_components/cafe
49- zip -r ../../ cafe.zip . -x "*.DS_Store" "*/.DS_Store"
47+ # Create zip with cafe/ folder at root (for HACS with content_in_root: false )
48+ cd custom_components
49+ zip -r ../cafe.zip cafe -x "*.DS_Store" "*/.DS_Store"
5050
51- # Create alternative tar.gz with content at root
52- tar -czf ../../ cafe.tar.gz --exclude="*.DS_Store" .
53- cd ../..
51+ # Create alternative tar.gz
52+ tar -czf ../cafe.tar.gz --exclude="*.DS_Store" cafe
53+ cd ..
5454
5555 echo "Created archives:"
5656 ls -la *.zip *.tar.gz
Original file line number Diff line number Diff line change 22 "name" : " C.A.F.E." ,
33 "render_readme" : true ,
44 "homeassistant" : " 2024.1.0" ,
5- "content_in_root" : true ,
5+ "content_in_root" : false ,
66 "zip_release" : true ,
77 "filename" : " cafe.zip"
88}
You can’t perform that action at this time.
0 commit comments