Stop manually publishing your modules. Automate it in 2 minutes!
summary
Promise: publish a PowerShell module automatically end to end in minutes using a GitHub template and Actions. The demo uses GitHub Actions, a repo template that creates workflows for build/test and build/test/deploy, installs Pester and PSScriptAnalyzer, auto-bumps semantic versions and tags git, stores the PowerShell Gallery API key in repo secrets, runs cross‑platform smoke tests (Ubuntu Mac Windows PS5.1), publishes a prerelease, waits for approver to promote to stable, and succeeds.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 2:35PowerShell modules vs scripts
- 7:51Manual publishing problems
- 14:54Automation benefits
- 22:58Demo setup
- 33:50API keys and secrets
- 35:14Repository structure
- 43:09Deployment and verification
- 44:57Templates and wrap-up
related talks
45mGitHub Actions for Fun and Profit
01h 11mFree Continuous Delivery to the PowerShell Gallery with Azure DevOps
46mThese Are the Modules You’re Looking For: Packaging and Publishing PowerShell..
51mPowerShell module toolbox and templates for Continuous Delivery
01h 29mModularizing PowerShell: Making Code Portable
42mPublishing and Managing Modules in an Internal Repository
01h 39mMastering git collaboration -A DevOps necessity
47mBuilding and Publishing Reusable PowerShell Tools
