From fdd7801348f66f6b9969b8a26bf7589622cd7ac0 Mon Sep 17 00:00:00 2001 From: Ivan Borshchov Date: Fri, 17 Jan 2025 00:34:48 +0000 Subject: [PATCH] fix(autorelease): commit message --- .woodpecker/buildSlackNotify.sh | 4 ++-- .woodpecker/release.yml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.woodpecker/buildSlackNotify.sh b/.woodpecker/buildSlackNotify.sh index 2bc2dbd..41dde94 100644 --- a/.woodpecker/buildSlackNotify.sh +++ b/.woodpecker/buildSlackNotify.sh @@ -5,7 +5,7 @@ COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8) if [ "$CI_STEP_STATUS" = "success" ]; then - MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)" + MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. Commit: $CI_COMMIT_MESSAGE (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)" curl -s -X POST -H "Content-Type: application/json" -d '{ "username": "'"$CI_COMMIT_AUTHOR"'", @@ -23,7 +23,7 @@ fi export BUILD_LOG=$(cat ./build.log) -MESSAGE="Broke \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\` with commit (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)." +MESSAGE="Broke \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\` with commit $CI_COMMIT_MESSAGE (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)" CODE_BLOCK="\`\`\`$BUILD_LOG\n\`\`\`" echo "Sending slack message to developers $MESSAGE" diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index d2f8b4b..94f0bb0 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -26,8 +26,6 @@ steps: - /var/run/docker.sock:/var/run/docker.sock commands: - export $(cat /woodpecker/deploy.vault.env | xargs) - - env - - ls -la - npm clean-install - /bin/bash ./.woodpecker/buildRelease.sh - npm audit signatures