uploadtool: Cannot figure out the release URL for continuous

For last two days I have folowing error message on TravisCl when used https://github.com/probonopd/uploadtool/raw/master/upload.sh to upload package to GitHub releases.

Cannot figure out the release URL for continuous

I have no clue what could be wrong. Has any of you similar problem or know the solution? I used it for last year without any issues and I didn’t make any changes in configuration of TravisCl or GitHub.

Full log from GitHub is following:

Please consider submitting your AppImage to AppImageHub, the crowd-sourced
central directory of available AppImages, by opening a pull request
at https://github.com/AppImage/appimage.github.io
Desktop file: /home/travis/build/buddhi1980/mandelbulber2/mandelbulber2/build/appdir/mandelbulber2.desktop
/home/travis/build/buddhi1980/mandelbulber2/mandelbulber2/build/appdir should be packaged as Mandelbulber_v2-16cc8ce-x86_64.AppImage
Size of the embedded runtime: 188456 bytes
Guessing update information based on $TRAVIS_TAG= and $TRAVIS_REPO_SLUG=buddhi1980/mandelbulber2
gh-releases-zsync|buddhi1980|mandelbulber2|continuous|Mandelbulber_v2*-x86_64.AppImage.zsync
updateinformation type: gh-releases-zsync
ui_offset: 175784
ui_length: 1024
--2020-09-12 16:34:28--  https://github.com/probonopd/uploadtool/raw/master/upload.sh
Resolving github.com (github.com)... 140.82.112.3
Connecting to github.com (github.com)|140.82.112.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh [following]
--2020-09-12 16:34:28--  https://raw.githubusercontent.com/probonopd/uploadtool/master/upload.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9755 (9.5K) [text/plain]
Saving to: ‘upload.sh’
     0K .........                                             100% 73.3M=0s
2020-09-12 16:34:28 (73.3 MB/s) - ‘upload.sh’ saved [9755/9755]
Running on Travis CI
TRAVIS_COMMIT: 16cc8ce83751ca8e08ca4a9c1617696fa308ea44
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   135  100   135    0     0    727      0 --:--:-- --:--:-- --:--:--   729
tag_infos: {
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/enterprise/2.18/user/rest/reference/git#get-a-reference"
}
tag_sha: 
Getting the release ID...
release_url: https://api.github.com/repos/buddhi1980/mandelbulber2/releases/tags/continuous
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126  100   126    0     0    807      0 --:--:-- --:--:-- --:--:--   812
release_infos: {
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name"
}
release ID: 
upload_url: 
release_url: 
target_commit_sha: 
TRAVIS_COMMIT != target_commit_sha, hence deleting continuous...
Delete the tag...
delete_url: https://api.github.com/repos/buddhi1980/mandelbulber2/git/refs/tags/continuous
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   132  100   132    0     0    811      0 --:--:-- --:--:-- --:--:--   814
{
  "message": "Reference does not exist",
  "documentation_url": "https://docs.github.com/rest/reference/git#delete-a-reference"
}
Create release...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   370  100   129  100   241    813   1520 --:--:-- --:--:-- --:--:--  1525
{
  "message": "Problems parsing JSON",
  "documentation_url": "https://docs.github.com/rest/reference/repos#create-a-release"
}
upload_url: 
release_url: 
Cannot figure out the release URL for continuous

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Comments: 30 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@buddhi1980 can you test with https://github.com/damirporobic/uploadtool/raw/master/upload.sh?

I have tested now with export UPLOADTOOL_ISPRERELEASE=true, export UPLOADTOOL_ISPRERELEASE=false and without setting it at all, works as expected. If you get the error again, please post the travis-ci log (or what kind of CI you’re using).