Skip to content

Commit 408995b

Browse files
committed
Make sure all files get synced to svn repo
When rsync compares a freshly-built source against a previously-synced destination, it sees matching timestamps on both sides and skips any file whose size also matches, even if the content differs. The -c flag makes rsync compare MD5 checksums instead, so it correctly detects the content change.
1 parent 32d7432 commit 408995b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ _svn-release-version VERSION:
7171
svn ci "{{ svn_dir }}" --username "{{ svn_user }}" -m "tagging version {{ VERSION }}"
7272

7373
_svn-sync-trunk SRC:
74-
rsync -av --delete --chmod=F664,D775 --owner "{{ SRC }}"/* "{{ svn_dir }}"/trunk/
74+
rsync -avc --delete --chmod=F664,D775 --owner "{{ SRC }}"/* "{{ svn_dir }}"/trunk/
7575
svn add --force "{{ svn_dir }}"/trunk/*
7676

7777
# Update subversion repo from WordPress.org

0 commit comments

Comments
 (0)