diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89e612eb..61758baf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,19 +34,19 @@ jobs: - name: Push changes to a new branch and create a PR run: | # Create a new branch from main - git checkout -b version-bump-${{ steps.release.outputs.version }} + git checkout -b version-bump-${{ steps.release.outputs.tag }} # Add the changes made by semantic-release (version update and changelog) git add pyproject.toml CHANGELOG.md # Commit the changes (version bump and changelog update) - git commit -m "chore: bump version to ${{ steps.release.outputs.version }} and update changelog" + git commit -m "chore: bump version to ${{ steps.release.outputs.tag }} and update changelog" # Push changes to the new branch - git push origin version-bump-${{ steps.release.outputs.version }} + git push origin version-bump-${{ steps.release.outputs.tag }} # Create a pull request using GitHub CLI (gh) - gh pr create --base main --head version-bump-${{ steps.release.outputs.version }} --title "chore: Version bump to ${{ steps.release.outputs.version }}" --body "Automated version bump" + gh pr create --base main --head version-bump-${{ steps.release.outputs.tag }} --title "chore: Version bump to ${{ steps.release.outputs.tag }}" --body "Automated version bump" env: GITHUB_TOKEN: ${{ secrets.QUANDA_ADMIN }}