Revision: 27252
          http://sourceforge.net/p/bibdesk/svn/27252
Author:   hofman
Date:     2022-02-21 15:47:19 +0000 (Mon, 21 Feb 2022)
Log Message:
-----------
Update version in help sources from build script

Modified Paths:
--------------
    trunk/bibdesk/build_release.py

Modified: trunk/bibdesk/build_release.py
===================================================================
--- trunk/bibdesk/build_release.py      2022-02-21 07:30:33 UTC (rev 27251)
+++ trunk/bibdesk/build_release.py      2022-02-21 15:47:19 UTC (rev 27252)
@@ -98,6 +98,7 @@
 SOURCE_PLIST_PATH = os.path.join(SOURCE_DIR, "Info.plist")
 PLIST_PATH = os.path.join(BUILT_APP, "Contents", "Info.plist")
 RELNOTES_PATH = os.path.join(BUILT_APP, "Contents", "Resources", 
"RelNotes.rtf")
+HELP_VERSION_PATH = os.path.join(SOURCE_DIR, "BibDesk.help", "Contents", 
"Resources", "en.lproj", "version.texi")
 
 def bump_versions(newVersion):
     
@@ -135,6 +136,9 @@
         newVersion = ".".join(oldVersion)
     infoPlist["CFBundleShortVersionString"] = newVersion
     plistlib.writePlist(infoPlist, SOURCE_PLIST_PATH)
+    helpVersionFile = codecs.open(HELP_VERSION_PATH, "w", "utf-8")
+    helpVersionFile.write("@set VERSION " + newVersion)
+    helpVersionFile.close()
     print("version string updated to %s" % (newVersion))
 
 def read_versions():

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to