Skip to content

Commit 8eb985d

Browse files
author
rezra3
committed
codeine-222 server is not using default values of command parameters if not given by API
1 parent 4bb81a6 commit 8eb985d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
my $githubUser = $ENV{GITHUB_USER};
5656
my $githubPassword = $ENV{GITHUB_PASSWORD};
57-
my $res = r("curl -X POST -u $githubUser:$githubPassword -H \"Content-Type: application/json\" -d '{ \"tag_name\": \"v$versionNoDate\", \"target_commitish\": \"master\", \"name\": \"v$versionNoDate\", \"body\": \"Codeine Release\", \"draft\": false, \"prerelease\": true}' https://api.github.com/repos/codeine-cd/codeine/releases");
57+
my $res = r("curl -k -X POST -u $githubUser:$githubPassword -H \"Content-Type: application/json\" -d '{ \"tag_name\": \"v$versionNoDate\", \"target_commitish\": \"master\", \"name\": \"v$versionNoDate\", \"body\": \"Codeine Release\", \"draft\": false, \"prerelease\": true}' https://api.github.com/repos/codeine-cd/codeine/releases");
5858
print "release returned: $res\n";
5959
$res =~ /\"id\":\s([^,]*)/;
6060
my $id = $1;

0 commit comments

Comments
 (0)