jitsu-build-scripts
Advanced tools
Comparing version 0.0.4-dev.627.20240201162218 to 0.0.4-dev.629.20240202113740
@@ -24,2 +24,6 @@ "use strict"; | ||
})); | ||
const status = await git.status(); | ||
if (status.behind > 0) { | ||
throw new Error(`You are ${status.behind} commits behind the remote. Please pull the changes first.`); | ||
} | ||
version = await adjustVersion(version, dockerTag, tagPrefix); | ||
@@ -26,0 +30,0 @@ console.info(`💁🏻 Adjusted version for ${dockerTag} release: ` + colors_1.color.bold(colors_1.color.cyan(version))); |
{ | ||
"name": "jitsu-build-scripts", | ||
"version": "0.0.4-dev.627.20240201162218", | ||
"version": "0.0.4-dev.629.20240202113740", | ||
"description": "", | ||
@@ -28,3 +28,3 @@ "author": "Jitsu Dev Team <dev@jitsu.com>", | ||
"webpack": "^5.88.2", | ||
"juava": "0.0.4-dev.627.20240201162218" | ||
"juava": "0.0.4-dev.629.20240202113740" | ||
}, | ||
@@ -31,0 +31,0 @@ "scripts": { |
@@ -41,2 +41,8 @@ import * as path from "path"; | ||
//git check that all changes are pulled from remote | ||
const status = await git.status(); | ||
if (status.behind > 0) { | ||
throw new Error(`You are ${status.behind} commits behind the remote. Please pull the changes first.`); | ||
} | ||
version = await adjustVersion(version, dockerTag, tagPrefix); | ||
@@ -43,0 +49,0 @@ console.info(`💁🏻 Adjusted version for ${dockerTag} release: ` + color.bold(color.cyan(version))); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
908129
12421