Skip to content

Commit

Permalink
release(patch): use the makefile defined in the release branch (#12483)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Jan 23, 2024
1 parent cf0d29f commit 643b61e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
prepare:
runs-on: ubuntu-latest
outputs:
release-branch: ${{ steps.prepare.outputs.release-branch }}
release-version: ${{ steps.prepare.outputs.release-version }}
slack-thread: ${{ steps.prepare.outputs.slack-thread }}
steps:
Expand All @@ -42,6 +43,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ prepare ]
env:
RELEASE_BRANCH: ${{ needs.prepare.outputs.release-branch }}
RELEASE_VERSION: ${{ needs.prepare.outputs.release-version }}
permissions:
contents: write
Expand All @@ -50,6 +52,8 @@ jobs:
with:
# 0 indicates all history for all branches and tags.
fetch-depth: 0
# Use the makefile in the given release branch.
ref: ${{ env.RELEASE_BRANCH }}

# Required to use a service account, otherwise PRs created by
# GitHub bot won't trigger any CI builds.
Expand Down

0 comments on commit 643b61e

Please sign in to comment.