From ae5bbbfc9cdd7c1a8fe39bdffee9c782b878cdea Mon Sep 17 00:00:00 2001 From: Joel Timothy Oh Date: Tue, 3 Sep 2024 11:08:58 +0000 Subject: [PATCH] Fix (templates): Fix entrypoint paths in azure-pipelines templates --- templates/azure-pipelines/entrypoint/generate.yml | 2 +- templates/azure-pipelines/entrypoint/powershell/generate.yml | 2 +- templates/azure-pipelines/entrypoint/powershell/release.yml | 2 +- templates/azure-pipelines/entrypoint/pwsh/generate.yml | 2 +- templates/azure-pipelines/entrypoint/pwsh/release.yml | 2 +- templates/azure-pipelines/entrypoint/release.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/azure-pipelines/entrypoint/generate.yml b/templates/azure-pipelines/entrypoint/generate.yml index 8d922cd..5ab5510 100644 --- a/templates/azure-pipelines/entrypoint/generate.yml +++ b/templates/azure-pipelines/entrypoint/generate.yml @@ -11,7 +11,7 @@ steps: $env:RELEASE_TAG_REF = if ($matchInfo) { $matchInfo.Matches.Groups[1].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - $releaseNotesPath = .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Generate.ps1 + $releaseNotesPath = .\build\PSRepositoryReleaseManager\Invoke-Generate.ps1 Get-Content -Path $releaseNotesPath ### Begin CI-specific code: Set job-scoped variables echo "##vso[task.setvariable variable=RELEASE_NOTES_PATH_RESOLVED]${releaseNotesPath}" diff --git a/templates/azure-pipelines/entrypoint/powershell/generate.yml b/templates/azure-pipelines/entrypoint/powershell/generate.yml index 366c066..0ebce66 100644 --- a/templates/azure-pipelines/entrypoint/powershell/generate.yml +++ b/templates/azure-pipelines/entrypoint/powershell/generate.yml @@ -11,7 +11,7 @@ steps: $env:RELEASE_TAG_REF = if ($matchInfo) { $matchInfo.Matches.Groups[1].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - $releaseNotesPath = .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Generate.ps1 + $releaseNotesPath = .\build\PSRepositoryReleaseManager\Invoke-Generate.ps1 Get-Content -Path $releaseNotesPath ### Begin CI-specific code: Set job-scoped variables echo "##vso[task.setvariable variable=RELEASE_NOTES_PATH_RESOLVED]${releaseNotesPath}" diff --git a/templates/azure-pipelines/entrypoint/powershell/release.yml b/templates/azure-pipelines/entrypoint/powershell/release.yml index f89edaf..e777064 100644 --- a/templates/azure-pipelines/entrypoint/powershell/release.yml +++ b/templates/azure-pipelines/entrypoint/powershell/release.yml @@ -18,7 +18,7 @@ steps: $env:RELEASE_REPOSITORY = if ($matchInfo) { $matchInfo.Matches.Groups[2].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Release.ps1 > $null + .\build\PSRepositoryReleaseManager\Invoke-Release.ps1 > $null displayName: Create GitHub release condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') env: diff --git a/templates/azure-pipelines/entrypoint/pwsh/generate.yml b/templates/azure-pipelines/entrypoint/pwsh/generate.yml index 8d922cd..5ab5510 100644 --- a/templates/azure-pipelines/entrypoint/pwsh/generate.yml +++ b/templates/azure-pipelines/entrypoint/pwsh/generate.yml @@ -11,7 +11,7 @@ steps: $env:RELEASE_TAG_REF = if ($matchInfo) { $matchInfo.Matches.Groups[1].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - $releaseNotesPath = .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Generate.ps1 + $releaseNotesPath = .\build\PSRepositoryReleaseManager\Invoke-Generate.ps1 Get-Content -Path $releaseNotesPath ### Begin CI-specific code: Set job-scoped variables echo "##vso[task.setvariable variable=RELEASE_NOTES_PATH_RESOLVED]${releaseNotesPath}" diff --git a/templates/azure-pipelines/entrypoint/pwsh/release.yml b/templates/azure-pipelines/entrypoint/pwsh/release.yml index 70b4e38..4465594 100644 --- a/templates/azure-pipelines/entrypoint/pwsh/release.yml +++ b/templates/azure-pipelines/entrypoint/pwsh/release.yml @@ -18,7 +18,7 @@ steps: $env:RELEASE_REPOSITORY = if ($matchInfo) { $matchInfo.Matches.Groups[2].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Release.ps1 > $null + .\build\PSRepositoryReleaseManager\Invoke-Release.ps1 > $null displayName: Create GitHub release condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') env: diff --git a/templates/azure-pipelines/entrypoint/release.yml b/templates/azure-pipelines/entrypoint/release.yml index 70b4e38..4465594 100644 --- a/templates/azure-pipelines/entrypoint/release.yml +++ b/templates/azure-pipelines/entrypoint/release.yml @@ -18,7 +18,7 @@ steps: $env:RELEASE_REPOSITORY = if ($matchInfo) { $matchInfo.Matches.Groups[2].Value } else { $null } ### End of CI-specific code $VerbosePreference = 'Continue' - .\build\PSRepositoryReleaseManager\src\scripts\ci\Invoke-Release.ps1 > $null + .\build\PSRepositoryReleaseManager\Invoke-Release.ps1 > $null displayName: Create GitHub release condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/') env: