Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas committed Jul 8, 2024
2 parents 302b427 + 54a1c50 commit 5b7622a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/hassfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v4"
with:
fetch-depth: 0

- name: Get the latest tag
run: |
echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
echo "TAG=${{ env.tag }}"
- name: Set version to the latest tag
run: |
sed -i "s/GITHUB_RELEASE_VERSION/${{ env.tag }}/g" custom_components/ankermake/manifest.json
Expand Down

0 comments on commit 5b7622a

Please sign in to comment.