Skip to content

Commit 2a47fcc

Browse files
committed
Add automatic release workflow
1 parent 9d3a4ad commit 2a47fcc

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Create Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Create Release
18+
uses: softprops/action-gh-release@v1
19+
with:
20+
generate_release_notes: false
21+
body: |
22+
## What's Changed in ${{ github.ref_name }}
23+
24+
See [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md) for details.
25+
26+
### Installation
27+
28+
**Via HACS (Recommended):**
29+
1. Open HACS in Home Assistant
30+
2. Search for "Ultra Card Pro Cloud"
31+
3. Click Install
32+
4. Restart Home Assistant
33+
34+
**Manual Installation:**
35+
1. Download the `custom_components/ultra_card_pro_cloud` folder
36+
2. Copy to your Home Assistant `config/custom_components/` directory
37+
3. Restart Home Assistant
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)