Skip to content

Commit

Permalink
updating build yaml with create PR upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelcolas committed Mar 10, 2021
1 parent d4d65c3 commit b7dd9dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Making this project use the prerelease version of Sampler for testing.
- Display GitHub Release info if already exists.
- GitHub New PR to use Owner/Repo name.
- Added Create GH PR upon release.

### Fixed

Expand Down
15 changes: 11 additions & 4 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ NestedModule:
# OutputDirectory: ///Modules/HelperSubmodule
# VersionedOutputDirectory: false
# AddToManifest: false
# SemVer:
# SemVer:
# # suffix:
# # prefix:

Expand Down Expand Up @@ -64,6 +64,7 @@ BuildWorkflow:
publish:
- publish_module_to_gallery
- Publish_release_to_GitHub
- Create_ChangeLog_GitHub_PR

####################################################
# PESTER Configuration #
Expand Down Expand Up @@ -117,6 +118,12 @@ TaskHeader: |
Write-Build DarkGray " $($Task.InvocationInfo.ScriptName):$($Task.InvocationInfo.ScriptLineNumber)"
""
####################################################
# GitHub Configuration #
####################################################
GitHubConfig:
GitHubFilesToAdd:
- 'CHANGELOG.md'
GitHubConfigUserName: gaelcolas
# GitHubConfigUserEmail: [email protected] # from Pipeline variable
UpdateChangelogOnPrerelease: false

0 comments on commit b7dd9dc

Please sign in to comment.