Skip to content

Commit

Permalink
Merge pull request #188 from theohbrothers/fix/ci-fix-entrypoint-path…
Browse files Browse the repository at this point in the history
…s-in-azure-pipelines-templates

Fix (templates): Fix entrypoint paths in azure-pipelines templates
  • Loading branch information
joeltimothyoh authored Sep 3, 2024
2 parents 3850d94 + ae5bbbf commit e88c576
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion templates/azure-pipelines/entrypoint/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion templates/azure-pipelines/entrypoint/pwsh/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion templates/azure-pipelines/entrypoint/pwsh/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion templates/azure-pipelines/entrypoint/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e88c576

Please sign in to comment.