Fix check for release existance
We no longer have a github-link file, so this check always failed. As a result, we were constantly re-uploading releases.
This commit is contained in:
parent
038c8ee8d4
commit
6391c4dcec
|
@ -84,7 +84,7 @@ if (defined $curReleaseDir) {
|
|||
system("git remote update origin >&2") == 0 or die;
|
||||
system("git push channels $rev:refs/heads/$channelName >&2") == 0 or die;
|
||||
|
||||
if ($bucket->head_key("$releasePrefix/github-link")) {
|
||||
if ($bucket->head_key("$releasePrefix")) {
|
||||
print STDERR "release already exists\n";
|
||||
} else {
|
||||
my $tmpDir = "/data/releases/tmp/release-$channelName/$releaseName";
|
||||
|
|
Loading…
Reference in a new issue