diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 50a799b..f3b6321 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -15,7 +15,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.merge_commit_sha }} + fetch-depth: '0' + - name: Bump version and push tag + id: tag_version + uses: anothrNick/github-tag-action@v1 + env: + WITH_V: true - name: Release uses: softprops/action-gh-release@v2 with: - tag_name: v0.0.5 \ No newline at end of file + tag_name: ${{ steps.tag_version.outputs.new_tag }} \ No newline at end of file