mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-17 11:28:16 +00:00
Added some files to the blacklist list,
they are on wescamp and shouldn't be removed upon upload of the campaign.
This commit is contained in:
parent
b548402bb4
commit
15453a43cc
@ -164,7 +164,12 @@ if __name__ == "__main__":
|
||||
# Update the directory
|
||||
svn = libsvn.SVN(svn_dir + "/" + addon)
|
||||
svn.update()
|
||||
if(svn.copy_to_svn(temp_dir, ["translations"])):
|
||||
# Translation needs to be prevented from the campaign to overwrite
|
||||
# the ones in wescamp.
|
||||
# The other files are present in wescamp and shouldn't be deleted.
|
||||
if(svn.copy_to_svn(temp_dir, ["translations", "po", "campaign.def",
|
||||
"config.status", "Makefile"])):
|
||||
|
||||
svn.commit("wescamp_client: automatic update of addon '"
|
||||
+ addon + "'")
|
||||
logging.info("New version of addon '%s' uploaded.", addon)
|
||||
|
Loading…
x
Reference in New Issue
Block a user