From 701bf950022842433ddfd9081f2e74a12547c2bd Mon Sep 17 00:00:00 2001 From: splincode Date: Mon, 23 Sep 2024 15:00:52 +0300 Subject: [PATCH] feat: change hooks again --- .release-it.js | 2 +- projects/release-it-config/index.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.release-it.js b/.release-it.js index 97a878ba..3df7f99d 100644 --- a/.release-it.js +++ b/.release-it.js @@ -1 +1 @@ -module.exports = require('@taiga-ui/release-it-config'); +module.exports = require('./projects/release-it-config'); diff --git a/projects/release-it-config/index.js b/projects/release-it-config/index.js index bed0e0e0..015a6db0 100644 --- a/projects/release-it-config/index.js +++ b/projects/release-it-config/index.js @@ -36,8 +36,10 @@ module.exports = { 'npx syncer || echo ""', 'npm run after:bump -s || echo ""', ], - 'after:release': 'npm run release', + 'after:release': + 'echo Successfully released ${name} v${version} to ${repo.repository}.', 'before:init': 'git fetch --prune --prune-tags origin', + 'before:release': 'npm run release', }, npm: { allowSameVersion: true,