Does the vpk tool prevent overwriting an existing version? #9
-
In our ci/cd pipeline, do we need to check if the version already exists before running the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
By default,
So assuming your CI is using |
Beta Was this translation helpful? Give feedback.
By default,
vpk pack
will stop and ask you (y/n) if you want to overwrite an existing release on local disk. You can set non-interactive mode with-x
, which will then not ask and default to No/fail to pack. If you wish for vpk to unconditionally overwrite the file, you can specify-xy
instead to answer Yes to the question and continue to overwrite the local package.vpk upload
will not re-upload any local assets if the MD5 checksum of the local file matches that of the remote file. If the checksums are different, then it will overwrite the remote file.So assuming your CI is using
vpk download
to download the existing release (let's say it's1.2.3
), if your CI is trying to build the same …