Skip to content

Commit db201b3

Browse files
committed
Fix subversion release having wrong version number
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 12907ae commit db201b3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Unreleased
22

3+
- Fix subversion release containing wrong version number.
4+
35
## 9.9.1 (2026-04-09)
46

57
- Fix multiline options in admin did not save properly.

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)