Skip to content

Commit

Permalink
Fix hotfix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jan 18, 2025
1 parent ede1969 commit 60544a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ env.GH_TOKEN }}

- name: 👷 Build Project
if: ${{ env.IS_HOTFIX == 'true' }}
id: build-project
run: pnpm build

- name: 🚀 Perform Release
id: perform-release
working-directory: .github/workflows
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,10 @@ for package in $(echo "$PACKAGES" | jq -c '.[]'); do
esac
done

# Merge the release branch back to master.
merge_to_master
if [ "$IS_HOTFIX" = "false" ]; then
# Merge the release branch back to master.
merge_to_master
fi

# Delete the release branch from both local and remote.
delete_release_branch
Expand Down

0 comments on commit 60544a3

Please sign in to comment.