Skip to content

feat(shouldprocess): replace -DryRun with SupportsShouldProcess in both scripts#16

Merged
ndomako10 merged 3 commits into
mainfrom
feat/shouldprocess
Mar 27, 2026
Merged

feat(shouldprocess): replace -DryRun with SupportsShouldProcess in both scripts#16
ndomako10 merged 3 commits into
mainfrom
feat/shouldprocess

Conversation

@ndomako10

Copy link
Copy Markdown
Owner

Summary

  • Replaces custom -DryRun switch with standard [CmdletBinding(SupportsShouldProcess)] in both scripts; use -WhatIf to preview and -Confirm to prompt
  • Adds automated release workflow that cuts a GitHub release on PR merge based on conventional commit type
  • Documents release process and squash merge requirement in CLAUDE.md

…th scripts

Rename-Photos.ps1: remove [switch]\$DryRun, add [CmdletBinding(SupportsShouldProcess)].
Rename and log write are gated on \$PSCmdlet.ShouldProcess so neither fires under -WhatIf.

Build-Trips.ps1: add [CmdletBinding(SupportsShouldProcess)], gate Export-Csv on
ShouldProcess. Also removes the unused \$dts assignment.

closes #9
Parses the squash commit title for conventional commit type to determine
semver bump level. Breaking changes also detected from PR body.
chore/docs/ci/test/refactor PRs produce no release.
@ndomako10
ndomako10 merged commit 024ef04 into main Mar 27, 2026
@ndomako10
ndomako10 deleted the feat/shouldprocess branch March 27, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant