Closed PMassicotte closed 1 year ago
Hmm, and does the problem persist with the development version from GitHub? I believe that's on 0.1.4.9006
Getting the same message, first time running pb_upload()
on a new tag fails. Re-runing the command (i.e. on the same tag) right after works. So it fails when the tag does not exist and need to be created, but will work the second time.
I think
this is a GitHub latency issue where it takes a second or two to recognize that the new release is available - I turned off all the caching etc and still reproduced the problem, so I added a Sys.sleep(2) and I think that resolves the issue. Should be resolved when #103 merges in
Thank you @tanho63 for this.
I am using this code to create a file to upload:
Then I am trying to upload it. The tag 1.1.4 does not exists, so it asks me to create it and then, this time, worked fine.
The exact same code, but with a new tag (v.1.1.6) I am getting an error: