Every version of your project can carry its source files, which readers browse on the Source tab. Until now, an upload always replaced all of them, so fixing one file meant picking the whole project again. You can now keep what is stored and send only what changed.
Upload only what changed
- Open your project's Upload files page (from the project page, or Files on My projects).
- Under Attach to version, choose the version you want to change.
- Tick Keep the files already stored for this version, and add or replace only the files you pick. The hint under the file box changes to say that the other files already stored for the version stay.
- Pick or drop just the new and changed files, and press Upload files.
A file with the same path replaces the stored one, a new path is added, and everything else stays as it is. After the upload a message tells you how many files were kept, for example Kept 41 files already stored.
Good to know
- The box only appears when the chosen version already has files stored, and it starts unticked. Left unticked, an upload replaces every source file of that version, as before.
- The path decides what is replaced. Files picked in the
browser arrive by name only, so they match files at the top level. To
replace
src/app.py, upload a.zipthat holdssrc/app.pyand leave Unpack a .zip into its folders and files ticked. - Only the files you upload count against your free storage; the kept ones are already stored. The 5000-file limit applies to the total after merging.
- Keeping never deletes anything. To take a file out, upload the full set with the box unticked.
- If the stored files cannot be read, the upload is refused with a message, rather than losing them.
Two shortcuts
- On your project's Releases tab, a release with no source files yet shows + Add source (only to you, the owner). It opens Upload files already set to that version.
- Current files on Upload files shows the number of files and their size for the version, plus a Download ZIP link, so you can check or back up exactly what is stored before you add to it.
More on source files: Upload a .zip and keep its folders and Upload your project's source files. More guides at https://jmtechpower.com/articles.
评论 (0)
请登录后发表评论
登录暂无评论,成为第一个评论者!