ocli icon indicating copy to clipboard operation
ocli copied to clipboard

uploading release artefacts

Open jpmens opened this issue 4 years ago • 2 comments

There's something wrong with the packaging/ Makefile I think, as this time around the uploader refuses to upload because a release already exists. I've tried wrapping my head around what's happening, but I can't concentrate properly on the feature; it'll have to wait.

make publish-package arch=amd64 dist=buster
Uploading release artefact ./dist/owntracks-cli-publisher_0.9.0-1~buster_amd64.deb to GitHub
./bin/github-release release --user owntracks --repo ocli --tag 0.9.0 || true
error: github returned 422 Unprocessable Entity (this is probably because the release already exists)
./bin/github-release upload --user owntracks --repo ocli --tag 0.9.0 --name owntracks-cli-publisher_0.9.0-1~buster_amd64.deb --file ./dist/owntracks-cli-publisher_0.9.0-1~buster_amd64.deb --replace
error: could not upload, status code (422 Unprocessable Entity), msg: Validation Failed, errors: [field: name, code: already_exists]
make: *** [publish-package] Error 1

jpmens avatar Feb 15 '20 08:02 jpmens

The first package was successful https://github.com/owntracks/ocli/releases/tag/0.9.0

jpmens avatar Feb 15 '20 08:02 jpmens

You might want to bump the version within version.h accompanied by adding a new tag 0.10.0 and see how that goes.

amotl avatar Feb 22 '20 06:02 amotl