From b1a21cc0dc3a5dafd6266444f1442aefee332910 Mon Sep 17 00:00:00 2001 From: Mikel Blanchard Date: Tue, 18 Jun 2024 09:58:29 -0700 Subject: [PATCH] [repo] Stable version update automation tweaks (#5698) --- .github/workflows/post-release.yml | 3 + Directory.Packages.props | 12 +- build/scripts/post-release.psm1 | 192 ++++++++++++++++++++++++++++- 3 files changed, 195 insertions(+), 12 deletions(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index e824e87d724..249fd360da9 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -83,6 +83,9 @@ jobs: ref: ${{ github.event.repository.default_branch }} token: ${{ secrets[needs.automation.outputs.token-secret-name] }} + - name: Setup dotnet + uses: actions/setup-dotnet@v4 + - name: Create GitHub Pull Request to update stable build version in props if: | (github.ref_type == 'tag' && startsWith(github.ref_name, 'core-') && !contains(github.ref_name, '-alpha') && !contains(github.ref_name, '-beta') && !contains(github.ref_name, '-rc')) diff --git a/Directory.Packages.props b/Directory.Packages.props index 14d04b08b29..d7180a1c1ae 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -35,12 +35,12 @@ - - - - - - + + + + + +