fix: secrets

This commit is contained in:
Andras Bacsai 2023-01-18 18:51:03 +01:00 committed by GitHub
parent 9b5efab8f8
commit a176562ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ import { saveBuildLog, saveDockerRegistryCredentials } from './buildPacks/common
import { scheduler } from './scheduler';
import type { ExecaChildProcess } from 'execa';
export const version = '3.12.12';
export const version = '3.12.13';
export const isDev = process.env.NODE_ENV === 'development';
export const sentryDSN =
'https://409f09bcb7af47928d3e0f46b78987f3@o1082494.ingest.sentry.io/4504236622217216';
@ -1922,7 +1922,7 @@ export function generateSecrets(
const normalSecrets = secrets.filter((s) => !s.isPRMRSecret);
if (pullmergeRequestId && isPRMRSecret.length > 0) {
isPRMRSecret.forEach((secret) => {
if ((isBuild && !secret.isBuildSecret) || (!isBuild && secret.isBuildSecret)) {
if (isBuild && !secret.isBuildSecret) {
return;
}
const build = isBuild && secret.isBuildSecret;
@ -1931,7 +1931,7 @@ export function generateSecrets(
}
if (!pullmergeRequestId && normalSecrets.length > 0) {
normalSecrets.forEach((secret) => {
if ((isBuild && !secret.isBuildSecret) || (!isBuild && secret.isBuildSecret)) {
if (isBuild && !secret.isBuildSecret) {
return;
}
const build = isBuild && secret.isBuildSecret;

View File

@ -1,7 +1,7 @@
{
"name": "coolify",
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
"version": "3.12.12",
"version": "3.12.13",
"license": "Apache-2.0",
"repository": "github:coollabsio/coolify",
"scripts": {