-
Replace all occurrences of
<MODULENAME>
with module name string through find and replace. -
Rename all files with
MODULENAME
with module name string (must be done manually). -
Populate
.psd1
manifest file with extra information, and generate a unique guid. -
Create a commit on the
development
branch and push it. -
Set the default branch on Github to
development
. -
Create all the azure pipelines from the
.yaml
files.- For each pipeline config file, create a new pipeline, set appropriate name, and run it on the development branch just to register a valid run (required for next step).
-
Add branch protection rules:
-
development
- Require status checks to pass before merging
- Require branches to be up-to-date
- Select the
Development PR
check
-
master
- Require status checks to pass before merging
- Require branches to be up-to-date
- Select the
Master PR
check
-
-
Create Release Pipeline
- Artifact
- Github Repository
- Branch: master
- Version: Latest
- CD: Enabled -> branch:master
- Stage
- Powershell Job
- Path: $(System.DefaultWorkingDirectory)/_KubaP_Powershell-ProgramManager/build/vsts-build-prerequisites.ps1
- Use pscore
- Powershell Job
- Path: $(System.DefaultWorkingDirectory)/_KubaP_Powershell-ProgramManager/build/vsts-build.ps1
- Use pscore
- Arguments: -ApiKey $(ApiKey)
- OutputVariable: BuildOutput
- Github Release
- Mode: create
- Repo: github repo
- Source: User specific tag
- Tag: v$(BuildOutput.version)
- Title: v$(BuildOutput.version)
- Assets:
$(System.DefaultWorkingDirectory)/_KubaP_Powershell-/publish/-v$ (BuildOutput.version).zip - Include changelog: no
- Pre-release: yes
- Pipeline Variables
- system.debug = true
- ApiKey =
- Powershell Job
- Artifact
- Go through and fix/update the
README.md
file.
- Go though all
pull requests
/commits
since last release to be sure of whats new/removed/fixed/updated etc. - Go through
.psd1
manifest to:- Update
version
. - Make sure tags are correct.
- Update
- Go through
changelog.md
to create new entry for the new release. - Go through
README.md
andabout_pages
to document any new features.
- Update the
PSGallery
badges in theREADME.md
file to point to the newly-created package webpage.