To patch a release package, run:
gdcloud artifacts patch SOURCE_RELEASE PATCH_RELEASE
The SOURCE_RELEASE package is the package being replaced.
The PATCH_RELEASE package is the package that replaces the SOURCE_RELEASE package.
OPTIONAL FLAGS
--output-path string Path to the patched output folder.
--verify If set, perform a verification after applying the patch. (default true)
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud artifacts patch\u003c/code\u003e is used to replace an existing release package with a patch package.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires two arguments: \u003ccode\u003eSOURCE_RELEASE\u003c/code\u003e, which is the package to be replaced, and \u003ccode\u003ePATCH_RELEASE\u003c/code\u003e, which is the replacement package.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--output-path\u003c/code\u003e flag specifies the directory where the patched package will be saved.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--verify\u003c/code\u003e flag, which is enabled by default, ensures the patch was applied successfully.\u003c/p\u003e\n"],["\u003cp\u003eSeveral global flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e are available for use with this command.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts patch\n\nNAME\n----\n\ngdcloud artifacts patch - Patch and replace a full release package with a patch package.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts patch SOURCE_RELEASE PATCH_RELEASE [flags]\n\n### EXAMPLES\n\n To patch a release package, run:\n\n gdcloud artifacts patch SOURCE_RELEASE PATCH_RELEASE\n\n The SOURCE_RELEASE package is the package being replaced.\n The PATCH_RELEASE package is the package that replaces the SOURCE_RELEASE package.\n\n### OPTIONAL FLAGS\n\n --output-path string Path to the patched output folder.\n --verify If set, perform a verification after applying the patch. (default true)\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]