Skip to content

Commit

Permalink
fix missing sha for tagging
Browse files Browse the repository at this point in the history
theBowja/genshin-db@158
  • Loading branch information
theBowja authored Jan 31, 2024
1 parent 8ee57dd commit 821ac64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
- name: Get latest commit hash
if: ${{ github.event.client_payload.tagname != steps.genshin-db-dist.outputs.version }}
id: latestcommit
run: |
echo "latestcommit=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
Expand All @@ -79,7 +80,7 @@ jobs:
repo: context.repo.repo,
tag: '${{ github.event.client_payload.tagname }}',
message: 'Release for genshin-db ${{ github.event.client_payload.tagname }}',
object: '${{ steps.genshin-db-dist.outputs.latestcommit }}',
object: '${{ steps.latestcommit.outputs.latestcommit }}',
type: 'commit'
})

1 comment on commit 821ac64

@theBowja
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.