Package upload failed (exit status 128)
I get this error when I try to
zcli push
to a project:
3 Replies
@Backend
wait, is that the uncommited thing?
@Puub do you have any commits at all?
people keep bumping on this issue, me included, can't we have a fallback that will just upload everything when there are no commits @Michal ?
Aah! Yes indeed it was not initialized with Git yet. Thanks!
I forgot to mention it here, but we released
v1.0.43
last week, which has checks if git is installed, repository is initialized, and has at least one commit.
You should no longer get 128
in such cases.
https://github.com/zeropsio/zcli/releases/tag/v1.0.43GitHub
Release v1.0.43 · zeropsio/zcli
[v1.0.43] - 2025-04-18
Added
--noGit flag to push command, which deploys contents of working dir as-is, without special git rules (.gitignore etc.)
checks to push command whether git is installed ...