diff mbox

[devtools] archrelease: sync the repos directory before commiting changes

Message ID 20170619155510.9331-1-lordheavym@gmail.com
State Accepted
Headers show

Commit Message

Emil Velikov via arch-projects June 19, 2017, 3:55 p.m. UTC
---
 archrelease.in | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/archrelease.in b/archrelease.in
index 3b11652..4ef6cb1 100644
--- a/archrelease.in
+++ b/archrelease.in
@@ -57,6 +57,8 @@  done
 
 # gracefully handle files containing an "@" character
 known_files=("${known_files[@]/%/@}")
+# update repo directory first to avoid a commit failure
+svn up repos
 
 for tag in "$@"; do
 	stat_busy "Copying %s to %s" "${trunk}" "${tag}"