Skip to content

Commit fc98bfb

Browse files
Ignore changelog for deletion (#1768)
* Ignore changelog for deletion * Update build.yml * Update build.yml
1 parent 8c2eaaf commit fc98bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Ensure clean release branch from main
5353
run: |
5454
# Remove all tracked and untracked files except .git and .github
55-
find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name '.github' -exec rm -rf {} +
55+
find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name '.github' ! -name 'CHANGELOG.txt' -exec rm -rf {} +
5656
5757
# Copy files from main branch
5858
git checkout main -- .
@@ -64,7 +64,7 @@ jobs:
6464
6565
- name: Check in files
6666
run: |
67-
git add -f build/ Sources/
67+
git add -f . ':!CHANGELOG.txt' ':!node_modules'
6868
6969
- name: Commit build files
7070
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)