Fix prepare patch release workflow
MODIFY
.github/workflows/prepare-patch-release.yml
.github/workflows/prepare-patch-release.yml
@@ -24,15 +24,15 @@ jobs:
- name: Bump version
env:
- VERSION: ${{ needs.set-versions.outputs.release-version }}
- PRIOR_VERSION: ${{ needs.set-versions.outputs.prior-release-version }}
+ VERSION: ${{ steps.set-versions.outputs.release-version }}
+ PRIOR_VERSION: ${{ steps.set-versions.outputs.prior-release-version }}
run: |
.github/scripts/update-versions.sh "$PRIOR_VERSION" "$PRIOR_VERSION-alpha" "$VERSION" "$VERSION-alpha"
- name: Bump download link version
env:
- VERSION: ${{ needs.set-versions.outputs.release-version }}
- PRIOR_VERSION: ${{ needs.set-versions.outputs.prior-release-version }}
+ VERSION: ${{ steps.set-versions.outputs.release-version }}
+ PRIOR_VERSION: ${{ steps.set-versions.outputs.prior-release-version }}
run: |
sed -Ei "s,https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v$PRIOR_VERSION/,https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/download/v$VERSION/," README.md
@@ -43,7 +43,7 @@ jobs:
- name: Create pull request
env:
- VERSION: ${{ needs.set-versions.outputs.release-version }}
+ VERSION: ${{ steps.set-versions.outputs.release-version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
msg="Prepare patch release $VERSION"

Fix prepare patch release workflow (#5719)