with one click
release-to-psgallery
Walk through a manual release of the RSC PowerShell SDK
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Walk through a manual release of the RSC PowerShell SDK
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | release-to-psgallery |
| description | Walk through a manual release of the RSC PowerShell SDK |
Walk the user through a manual release of the RSC PowerShell SDK.
All scripts are under Utils/ and Utils/admin/.
Before starting, verify:
devel branchgh CLI is authenticated (gh auth status)$env:RSC_PSGalleryKeyFile is set and points to a valid JSON filegit status)dotnet is available in PATH. If not, look for an sdmain repo
(check ~/src/sdmain or siblings of the current repo) and activate its
build environment: source <sdmain>/polaris/.buildenv/bin/activate.
Run this in the shell before proceeding — it adds dotnet and other
build tools to PATH../Utils/admin/Test-RscSdkRelease.ps1
This checks that PSGallery version, GitHub latest release tag, and main
branch psd1+changelog all agree. If they don't, investigate before proceeding.
./Utils/Build-RscSdk.ps1
This is a debug build to catch issues early. The actual release build
happens later inside New-RscSdkRelease.ps1. Fix any issues before continuing.
Open CHANGELOG.md and review the top entry (which says ## Version TBD).
Make sure all notable changes are listed with PR links.
Sections: New Features, Bug Fixes, Breaking Changes.
Version number convention: Major.Minor.YYYYMMDD
YYYYMMDD date comes from the schema version, NOT today's date.
Read it from the first line of docs/graphql/schema-public.graphql
(e.g. # v20260309-27 → use 20260309, strip any -* suffix).1.14.20260105 → 1.14.20260309)1.14.20260105 → 1.15.20260309)Suggest the version to the user based on the changelog content, then run:
./Utils/admin/Set-RscSdkVersion.ps1 -NewVersion "Major.Minor.YYYYMMDD"
For example: ./Utils/admin/Set-RscSdkVersion.ps1 -NewVersion "1.15.20260309"
This updates ModuleVersion in the .psd1 and the ## Version heading in
CHANGELOG.md. Commit and push to devel:
git add CHANGELOG.md RubrikSecurityCloud/RubrikSecurityCloud.PowerShell/RubrikSecurityCloud.psd1
git commit -m "Bump version to Major.Minor.YYYYMMDD"
git push
./Utils/admin/Test-RscSdkCandidate.ps1
Confirms: not on main, changelog version matches psd1, tag not already published on GitHub.
./Utils/admin/New-RscSdkRelease.ps1
Without -NotDry, this runs the full release locally without pushing or
publishing. Review the output for any issues.
./Utils/admin/New-RscSdkRelease.ps1 -NotDry
This will:
main and git reset --hard develmaingh release createdevel## Version TBD changelog entry and push./Utils/admin/Test-RscSdkRelease.ps1
Confirm everything is coherent again.
$env:RSC_PSGalleryKeyFile and API key validitygh auth status and repo permissions./Utils/admin/Test-RscSdkRelease.ps1 to diagnosemake clean then retry