Skip to content

Commit

Permalink
fix(autorelease): commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
ivictbor committed Jan 17, 2025
1 parent 5c16a4a commit fdd7801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .woodpecker/buildSlackNotify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"'",
Expand All @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions .woodpecker/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdd7801

Please sign in to comment.