Update version and fix webhook generation

This commit is contained in:
Andras Bacsai 2023-11-15 09:15:49 +01:00
parent f176247b02
commit 1f711d9281
4 changed files with 5 additions and 4 deletions

View File

@ -511,7 +511,8 @@ function generateDeployWebhook($resource)
return $url;
}
function generateGitManualWebhook($resource, $type) {
if ($resource->source_id !== 0) {
ray($resource);
if ($resource->source_id !== 0 && !is_null($resource->source_id)) {
return null;
}
if ($resource->getMorphClass() === 'App\Models\Application') {

View File

@ -7,7 +7,7 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.134',
'release' => '4.0.0-beta.135',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.134';
return '4.0.0-beta.135';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.134"
"version": "4.0.0-beta.135"
}
}
}