Skip to content

Bump version

Bump version #12

Workflow file for this run

name: Bump version
on:
schedule:
- cron: "00 00 * * *"
workflow_dispatch:
jobs:
bump:
name: Do
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
custom_components/solarman/manifest.json
sparse-checkout-cone-mode: false
- run: 'sed -i "s/.*version.*/ \"version\": \"$(date +''%y.%m.%d'')\"/" custom_components/solarman/manifest.json'
- run: |
git config --global user.name "Continuous Integration"
git config --global user.email "[email protected]"
git commit -m "chore: bump version" custom_components/solarman/manifest.json
git push