From bc00d9c19d796caf1ebb5f0a024270c054110d71 Mon Sep 17 00:00:00 2001 From: Harel Moshe Date: Mon, 11 Nov 2024 14:03:07 +0200 Subject: [PATCH] fix: add debug prints to the semantic-release run (#541) Co-authored-by: CircleCI --- package.json | 2 +- scripts/update_dist_version.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 63b37ddb..e94f86b1 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "lint": "eslint \"src/**/*.{ts,tsx,js}\"", "prettier:ci": "prettier --list-different \"src/**/*.[jt]s\" --parser typescript", "prettier:fix": "prettier --write \"./src/**/*.[jt]s\" --parser typescript", - "semantic-release": "semantic-release", + "semantic-release": "semantic-release --debug", "test:unit": "NODE_OPTIONS=--unhandled-rejections=strict jest -c jest.unit.config.js --detectOpenHandles --runInBand --forceExit --silent", "test:instrumentations": "npm run build && jest -c jest.instrumentations.config.js --detectOpenHandles --runInBand --silent=false", "test:instrumentations:ci": "npm run build && jest -c jest.instrumentations.config.js --runInBand --forceExit --silent=false", diff --git a/scripts/update_dist_version.sh b/scripts/update_dist_version.sh index d67351b4..9f436b6e 100755 --- a/scripts/update_dist_version.sh +++ b/scripts/update_dist_version.sh @@ -4,7 +4,7 @@ next_version=$1 pushd ./dist if [ ! -f "package.json" ]; then - echo "File dist/package.json found." + echo "No dist/package.json found, failing deployment!" exit 1 fi