Files
advanced-camera-card/.github/workflows/manual-release.yml
T
Dermot Duffy cc376a8be1 feat: Rename the card to advanced-camera-card (#1873)
Whilst the Frigate support in this card is the best among camera
engines, the name incorrectly suggests that Frigate is a requirement.
Instead, to broaden the appeal, change to more camera agnostic name.
This does not suggest any change in priority, role or support for
Frigate.

This change is likely to be bug prone, due to the size of the rename --
the code contains 1500+ references to "Frigate" most of which make sense
to rename, some which do not, all of which needed human assessment.

- Closes #1298


BREAKING CHANGE: References to `frigate-card` in all kinds of
configuration need to be updated to `advanced-camera-card`. An automated
config upgrade should take care of the majority of usecases (click `Edit
-> Upgrade -> Save`), though may not be perfect.
2025-02-06 19:32:32 -08:00

54 lines
1.2 KiB
YAML

---
name: Manual Release
on:
workflow_dispatch:
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node and Yarn
uses: volta-cli/action@v4
- name: Install dependencies
run: yarn install --immutable
- name: Build the files
run: yarn run build
- name: Zip the files
uses: thedoctor0/zip-release@0.7.6
with:
type: zip
path: dist
filename: advanced-camera-card.zip
- name: Upload JS files to release
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.js
file_glob: true
tag: ${{ github.ref }}
overwrite: true
- name: Upload Zip file to release
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: advanced-camera-card.zip
tag: ${{ github.ref }}
overwrite: true
- name: HACS release validation
uses: hacs/action@22.5.0
with:
category: plugin