You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(updater): Pass OriginalTag to post-update script on second run (#133)
* fix: Add OriginalTag parameter for post-update script validation
* fix: Clarify comment for OriginalTag parameter in update-dependency script
* fix(updater): Pass OriginalTag to post-update script on second run
When the updater creates a new PR and runs the update-dependency script
a second time, it was not passing the OriginalTag parameter. This caused
the script to fail validation since Tag requires OriginalTag to be set.
Changes:
- Updated action.yml to pass OriginalTag on second script execution
- Added unit test for explicit Tag/OriginalTag parameters
- Added validation test to ensure Tag fails without OriginalTag
All 34 tests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix(changelog): Update post-update-script entry to include related pull requests
---------
Co-authored-by: Claude <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
### Features
6
6
7
-
- Updater - Add `post-update-script` input parameter to run custom scripts after dependency updates ([#130](https://github.com/getsentry/github-workflows/pull/130))
7
+
- Updater - Add `post-update-script` input parameter to run custom scripts after dependency updates ([#130](https://github.com/getsentry/github-workflows/pull/130), [#133](https://github.com/getsentry/github-workflows/pull/133))
8
8
- Scripts receive original and new version as arguments
9
9
- Support both bash (`.sh`) and PowerShell (`.ps1`) scripts
10
10
- Enables workflows like updating lock files, running code generators, or modifying configuration files
0 commit comments