Skip to content

Commit

Permalink
fix: secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai authored Jan 18, 2023
1 parent 9b5efab commit a176562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/api/src/lib/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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://[email protected]/4504236622217216';
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit a176562

Please sign in to comment.