Skip to content

Commit

Permalink
update release workflow (pinkywafer#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkywafer authored Feb 8, 2021
1 parent 4a3981f commit 4ae8def
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Get version
id: version
uses: home-assistant/actions/helpers/version@master

- name: "Set version number"
run: |
sed -i '/VERSION = /c\VERSION = "${{ steps.version.outputs.version }}"' custom_components/anniversaries/const.py
Expand Down

0 comments on commit 4ae8def

Please sign in to comment.