summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt korwel <[email protected]>2025-07-04 00:44:04 -0500
committerGitHub <[email protected]>2025-07-03 22:44:04 -0700
commitef736f0d1c2f629d5de69d3131eda35cb4f757d7 (patch)
treec0c2661fe9df0d4cfb40581661792bf666203d61
parentadc63e68824811b8709a84f030f55933cb028562 (diff)
Mk nightly relase tag formatting (#3204)
-rw-r--r--.github/workflows/release.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 78f5f4dc..24294a8a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -102,8 +102,13 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add package.json package-lock.json packages/*/package.json
- git commit -m "chore(release): ${{ steps.version.outputs.RELEASE_TAG }}"
- git push --set-upstream origin ${{ steps.release_branch.outputs.BRANCH_NAME }} --follow-tags
+ if ! git diff-index --quiet HEAD --; then
+ echo "Changes detected, creating commit."
+ git commit -m "chore(release): ${{ steps.version.outputs.RELEASE_TAG }}"
+ git push --set-upstream origin ${{ steps.release_branch.outputs.BRANCH_NAME }} --follow-tags
+ else
+ echo "No version changes to commit."
+ fi
- name: Create GitHub Release and Tag
if: '!inputs.dry_run'