Skip to content

Commit

Permalink
Use fetch-depth: 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sondregronas committed Jul 8, 2024
1 parent 74e9ca0 commit 53620e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/hassfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ 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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

with:
fetch-depth: 0

- name: Set version to release tag
run: |
sed -i "s/GITHUB_RELEASE_VERSION/${{ github.event.release.tag_name }}/g" custom_components/ankermake/manifest.json
Expand Down

0 comments on commit 53620e6

Please sign in to comment.