Skip to content

Commit 125a46f

Browse files
committed
fix: improve tar command for release archive
- Add --warning=no-file-changed to ignore file changes during archiving - Exclude additional Bazel-related directories and hidden files - Prevent tar failure when files change during archive creation
1 parent 3459191 commit 125a46f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,10 @@ jobs:
192192
--exclude='.git*' \
193193
--exclude='bazel-*' \
194194
--exclude='*.tar.gz' \
195+
--exclude='.bazel*' \
196+
--exclude='**/bazel-*' \
197+
--exclude='**/.bazel*' \
198+
--warning=no-file-changed \
195199
.
196200
197201
- name: Upload Release Asset

0 commit comments

Comments
 (0)