Skip to content

Commit d4f5fb3

Browse files
authored
Reducing scope of git add command in build (#339)
1 parent cbc2d26 commit d4f5fb3

File tree

4 files changed

+2
-2432
lines changed

4 files changed

+2
-2432
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ jobs:
6666
git config user.name github-actions
6767
git config user.email github-actions@github.com
6868
json -I -f src/core/cdk/package.json -e 'this.version="${{ steps.format.outputs.numeric_release }}"'
69+
git add src/core/cdk/package.json
6970
json -I -f src/installer/cdk/package.json -e 'this.version="${{ steps.format.outputs.numeric_release }}"'
70-
git add .
71+
git add src/installer/cdk/package.json
7172
git commit -am 'Updating package to ${{ steps.format.outputs.numeric_release }}'
7273
- name: Push Bumped Package Files
7374
uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)