Skip to content

Commit a4e3743

Browse files
workflow fix
1 parent ebaddd2 commit a4e3743

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/sync-element-web.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ jobs:
6666
6767
# Only commit if there are changes
6868
if [ -n "$(git status --porcelain)" ]; then
69-
git add processed/ current-release.txt
69+
git add processed/
70+
[ -f current-release.txt ] && git add current-release.txt
7071
git commit -m "Update to ${{ steps.release.outputs.tag }}"
7172
git push origin main
7273
else

0 commit comments

Comments
 (0)