-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds missing exec function to release notes script Add author names to git, change branch logic Also change checkout branch variable Change release notes so they're output to a file Add a bunch of extra debugging Fix yaml syntax error Work done for #196 [release]
- Loading branch information
Showing
3 changed files
with
31 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,12 +92,13 @@ stages: | |
displayName: Reconstitute variables | ||
- pwsh: | | ||
git checkout $env:BUILD_SOURCEBRANCH | ||
./build/release_notes.ps1 v${env:AP_Version} -update_changelog | ||
git checkout $env:BUILD_SOURCEBRANCHNAME | ||
Get-ChildItem env: | ||
./build/release_notes.ps1 v${env:AP_Version} '$(System.ArtifactsDirectory)/release_notes.txt' -update_changelog | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "QUT Ecoaocustics" | ||
git add CHANGELOG.md | ||
git commit -m "Update changelog for v${env:AP_Version}" -m "[skip_ci]" | ||
env: | ||
AP_Version: $(AP_Version) | ||
displayName: Generate release notes, commit changelog | ||
- task: GitHubRelease@0 | ||
|
@@ -106,8 +107,8 @@ stages: | |
tagSource: auto | ||
tag: v$(AP_Version) | ||
title: $(AP_ReleaseTitle) | ||
releaseNotesSource: inputs | ||
releaseNotes: $(AP_ReleaseMessage) | ||
releaseNotesSource: file | ||
releaseNotesFile: '$(System.ArtifactsDirectory)/release_notes.txt' | ||
assets: | | ||
$(Build.ArtifactsDirectory)/**/*.zip | ||
$(Build.ArtifactsDirectory)/**/*.tar.xz | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters