Skip to content

Does the vpk tool prevent overwriting an existing version? #9

Answered by caesay
bzuillsmith asked this question in Q&A
Discussion options

You must be logged in to vote

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's 1.2.3), if your CI is trying to build the same …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by caesay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants