Skip to content

Commit

Permalink
fixes release new cycle script
Browse files Browse the repository at this point in the history
  • Loading branch information
CrisTofani committed Dec 3, 2024
1 parent 876403a commit bd739a7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-new-cycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,19 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
if [[ ${{github.event.inputs.releaseLevel}} == "major" ]]; then
if [[ ${{ github.event.inputs.releaseLevel }} == "major" ]]; then
echo "Bumping the major version"
yarn start-breaking-cycle
else if [[ ${{github.event.inputs.releaseLevel}} == "minor" ]]; then
elif [[ ${{ github.event.inputs.releaseLevel }} == "minor" ]]; then
echo "Bumping the minor version"
yarn start-release-cycle
else if [[ ${{github.event.inputs.releaseLevel}} == "patch" ]]; then
elif [[ ${{ github.event.inputs.releaseLevel }} == "patch" ]]; then
echo "Bumping the patch version"
yarn start-fix-cycle
else
echo "Unknown release level: ${{ github.event.inputs.releaseLevel }}"
exit 1
fi
- id: push-tags
run: |
Expand Down

0 comments on commit bd739a7

Please sign in to comment.