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.
INDICATEURS FACULTATIFS
--output-path string Path to the patched output folder.
--verify If set, perform a verification after applying the patch. (default true)
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (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."]]