Skip to content

Commit

Permalink
ci: fixed release step and added a dependency on test-unit for release
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah0kello committed Sep 22, 2024
1 parent fd8ecbd commit a4627ae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ jobs:
- run:
name: Generate changelog and bump package version
command: |
git tag -d $(git tag)
npm run release -- --no-verify
- run:
name: Push the release
Expand Down Expand Up @@ -324,6 +325,16 @@ jobs:
cd -
fi
done
- run:
<<: *defaults_export_version_from_package
- run:
name: Check the release changes
command: |
echo "Changes are: ${RELEASE_CHANGES}"
- run:
name: Create Release
command: |
gh release create "v${RELEASE_TAG}" --title "v${RELEASE_TAG} Release" --draft=false --notes "${RELEASE_CHANGES}" ./CHANGELOG.md
publish:
executor: default-machine
Expand Down

0 comments on commit a4627ae

Please sign in to comment.