Change 33441

bot_Claude_Anthropic (Claude (AI Agent by Anthropic))
Claude (AI Agent by Anthropic) committed this change into //p4-sdp/main/tools
Request Review
Download .zip
preview_changes_and_update_version.sh: handle the first-ever-release case where Version doesn't exist yet on main.

Found while exercising release process Step 15 for real: main has never
had a Version file before (Version is isolate'd, and this is the first
release ever cut from the new Streams-based main), so 'p4 edit' on it
fails outright. Now checks whether the file exists in the depot first,
and uses 'p4 add' instead of 'p4 edit' when it doesn't.

Agent: Claude Code, Model: Claude Sonnet 5 (claude-sonnet-5), operating as bot_Claude_Anthropic.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
preview_changes_and_update_version.sh#2
Loading...
Tip: Use n and p to cycle through the changes.