Updates the version number in the manifest in line with the release, and creates a release asset.
Input | Description |
---|---|
github_token | Github token to enable change commits. |
component | Name of the HA integration component being released. |
name: Component Release
on:
release:
types: [published]
jobs:
release_zip_file:
name: Prepare release asset
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: Release Asset
uses: "rogerselwyn/actions/release-asset@main"
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
component: O365
Creates a draft version of the release notes based on commites.
Input | Description |
---|---|
github_token | Github token to enable change commits. |
name: Component Release
on:
release:
types: [published]
jobs:
releasenotes:
name: Prepare release notes
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- name: Release Asset
uses: "rogerselwyn/actions/release-notes@main"
with:
github_token: ${{ secrets.GITHUB_TOKEN }}