Pier Angelo Vendrame pushed to branch maint-15.0 at The Tor Project / 
Applications / tor-browser-build


Commits:
8dd2ee8c by Pier Angelo Vendrame at 2025-12-09T12:36:12+01:00
Bug 41654: Check for moat-settings updates in relprep.py.

- - - - -


1 changed file:

- tools/relprep.py


Changes:

=====================================
tools/relprep.py
=====================================
@@ -139,6 +139,7 @@ class ReleasePreparation:
                 self.update_zstd()
             self.update_go()
             self.update_manual()
+            self.update_moat_settings()
 
         self.update_changelogs()
         self.update_rbm_conf()
@@ -521,6 +522,18 @@ class ReleasePreparation:
         logger.info("Updating the manual")
         update_manual(self.gitlab_token, self.base_path)
 
+    def update_moat_settings(self):
+        proj = "moat-settings"
+
+        repo = Repo(self.base_path / "git_clones" / proj)
+        origin = repo.remotes["origin"]
+        origin.fetch()
+        commit = origin.refs["main"].commit.hexsha
+
+        config = self.load_config(proj)
+        config["git_hash"] = commit
+        self.save_config(proj, config)
+
     def get_last_releases(self):
         logger.info("Finding the previous releases.")
         sorted_tags = get_sorted_tags(self.repo)



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8dd2ee8c80953108008a3eb1e907c71551f07da4

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/8dd2ee8c80953108008a3eb1e907c71551f07da4
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to