Files
RelayTV-HA/.github/workflows/release.yml
T
2026-04-22 20:51:40 -05:00

27 lines
512 B
YAML

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create relaytv.zip for HACS
run: |
cd custom_components/relaytv
zip -r ../../relaytv.zip . -x "__pycache__/*" "*/__pycache__/*" "*.pyc"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
body_path: RELEASE_NOTES.md
files: relaytv.zip