Skip to content

Commit

Permalink
fix: git release
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayg10 committed Nov 20, 2024
1 parent 9788350 commit 52780dd
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2.1
##
orbs:
anchore: anchore/[email protected]
github-release: h-matsuo/github-release@0.1.3
gh: circleci/github-cli@2.1.0
slack: circleci/[email protected]

##
Expand Down Expand Up @@ -185,6 +185,7 @@ jobs:
name: Install git
command: |
sudo apt-get update && sudo apt-get install -y git
- gh/install
- checkout
- run:
name: Fetch updated release branch
Expand All @@ -204,12 +205,10 @@ jobs:
name: check the release changes
command: |
echo "Changes are: ${RELEASE_CHANGES}"
- github-release/create:
github-token-variable: ${GITHUB_TOKEN}
tag: v${RELEASE_TAG}
title: v${RELEASE_TAG} Release
description: ${RELEASE_CHANGES}
file-path: CHANGELOG.md
- run:
name: Create Release
command: |
gh release create "v${RELEASE_TAG}" --title "v${RELEASE_TAG} Release" --draft=false --notes "${RELEASE_CHANGES}" ./CHANGELOG.md
- slack/status:
webhook: "$SLACK_WEBHOOK_ANNOUNCEMENT"
success_message: '*"${CIRCLE_PROJECT_REPONAME}"* - Release \`"v${RELEASE_TAG}"\` \nhttps://github.com/mojaloop/"${CIRCLE_PROJECT_REPONAME}"/releases/tag/"v${RELEASE_TAG}"'
Expand Down

0 comments on commit 52780dd

Please sign in to comment.