Skip to content

v2.7.1

v2.7.1 #12

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
manifest_bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get version
id: version
uses: home-assistant/actions/helpers/version@master
- name: Bump manifest and create zip
run: |
sed -i 's/v0.0.0/${{ steps.version.outputs.version }}/' custom_components/babybuddy/manifest.json
cd custom_components/babybuddy/
zip ../../babybuddy.zip -r ./
- uses: svenstaro/upload-release-action@master
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./babybuddy.zip
asset_name: babybuddy.zip
tag: ${{ github.ref }}
overwrite: true