Skip to content

Commit c2f4a37

Browse files
committed
Merge branch 'appimagetool/master' of https://github.com/AppImage/AppImageKit into appimagetool/master
2 parents 49d4934 + 023439a commit c2f4a37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appimagetool.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ main (int argc, char *argv[])
441441
travis_tag = getenv("TRAVIS_TAG");
442442
/* https://github.com/probonopd/uploadtool */
443443
char* github_token;
444-
travis_tag = getenv("GITHUB_TOKEN");
444+
github_token = getenv("GITHUB_TOKEN");
445445

446446
/* Parse OWD environment variable.
447447
* If it is available then cd there. It is the original CWD prior to running AppRun */
@@ -740,7 +740,7 @@ main (int argc, char *argv[])
740740
channel = "latest";
741741
}
742742
}
743-
sprintf(buf, "gh-releases-zsync|%s|%s|%s|%s-_*-%s.AppImage.zsync", parts[0], parts[1], channel, app_name_for_filename, arch);
743+
sprintf(buf, "gh-releases-zsync|%s|%s|%s|%s*-%s.AppImage.zsync", parts[0], parts[1], channel, app_name_for_filename, arch);
744744
updateinformation = buf;
745745
printf("Guessing update information based on $TRAVIS_TAG=%s and $TRAVIS_REPO_SLUG=%s\n", travis_tag, travis_repo_slug);
746746
printf("%s\n", updateinformation);

0 commit comments

Comments
 (0)