Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading release artefacts #8

Open
jpmens opened this issue Feb 15, 2020 · 2 comments
Open

uploading release artefacts #8

jpmens opened this issue Feb 15, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@jpmens
Copy link
Member

jpmens commented Feb 15, 2020

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 jpmens added the bug Something isn't working label Feb 15, 2020
@jpmens
Copy link
Member Author

jpmens commented Feb 15, 2020

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

@amotl
Copy link
Contributor

amotl commented Feb 22, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants