Skip to content

Commit

Permalink
ci(python): Fix release tag (pola-rs#11994)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego authored Oct 24, 2023
1 parent 58511d4 commit cfb0d98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter-rust.yml
commitish: ${{ inputs.sha }}
commitish: ${{ inputs.sha || github.sha }}
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -32,7 +32,7 @@ jobs:
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter-python.yml
commitish: ${{ inputs.sha }}
commitish: ${{ inputs.sha || github.sha }}
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ jobs:
tag: py-${{ steps.version.outputs.version }}
version: ${{ steps.version.outputs.version }}
prerelease: ${{ steps.version.outputs.is_prerelease }}
commitish: ${{ inputs.sha }}
commitish: ${{ inputs.sha || github.sha }}
disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit cfb0d98

Please sign in to comment.