File tree Expand file tree Collapse file tree 4 files changed +59
-1
lines changed
custom_components/solis_cloud_control Expand file tree Collapse file tree 4 files changed +59
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - " v*"
7
+
8
+ env :
9
+ COMPONENT_NAME : solis_cloud_control
10
+
11
+ jobs :
12
+ release :
13
+ runs-on : ubuntu-latest
14
+
15
+ permissions :
16
+ contents : write
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+
21
+ - name : Set version number
22
+ run : |
23
+ version=${GITHUB_REF_NAME#v}
24
+ yq e -P -o=json \
25
+ -i ".version = \"${version}\"" \
26
+ "${{ github.workspace }}/custom_components/${{ env.COMPONENT_NAME }}/manifest.json"
27
+
28
+ - name : Zip ${{ env.COMPONENT_NAME }} directory
29
+ run : |
30
+ cd "${{ github.workspace }}/custom_components/${{ env.COMPONENT_NAME }}"
31
+ zip ${{ env.COMPONENT_NAME }}.zip -r ./
32
+
33
+ - uses : softprops/action-gh-release@v2
34
+ with :
35
+ files : ${{ github.workspace }}/custom_components/${{ env.COMPONENT_NAME }}/${{ env.COMPONENT_NAME }}.zip
Original file line number Diff line number Diff line change
1
+ name : Validate
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ schedule :
7
+ - cron : " 0 0 * * *"
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ validate-hacs :
12
+ runs-on : " ubuntu-latest"
13
+
14
+ steps :
15
+ - uses : " hacs/action@main"
16
+ with :
17
+ category : " integration"
Original file line number Diff line number Diff line change 1
1
{
2
2
"domain" : " solis_cloud_control" ,
3
3
"name" : " Solis Cloud Control" ,
4
- "version" : " 0 .0.2 " ,
4
+ "version" : " 1 .0.0 " ,
5
5
"documentation" : " https://github.com/mkuthan/solis-cloud-control" ,
6
6
"codeowners" : [
7
7
" @mkuthan"
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " Solis Cloud Control" ,
3
+ "render_readme" : true ,
4
+ "content_in_root" : false ,
5
+ "homeassistant" : " 2025.3.3"
6
+ }
You can’t perform that action at this time.
0 commit comments