Skip to content

Dev branch, release tags, readme changes, + debug log start #38

Dev branch, release tags, readme changes, + debug log start

Dev branch, release tags, readme changes, + debug log start #38

Workflow file for this run

name: Validate
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
- name: Get the latest tag
id: get_tag
run: echo ::set-output name=tag::$(git describe --tags --abbrev=0)
- name: Set version to the latest tag
run: |
sed -i "s/GITHUB_RELEASE_VERSION/${{ steps.get_tag.outputs.tag }}/g" custom_components/ankermake/manifest.json
sed -i "s/GITHUB_RELEASE_VERSION/${{ steps.get_tag.outputs.tag }}/g" custom_components/ankermake/const.py
- uses: "home-assistant/actions/hassfest@master"