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


Commits:
a3f75f9e by Pier Angelo Vendrame at 2025-12-09T12:15:29+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/a3f75f9e311b16c2599233db848e68f13a4c9d18

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a3f75f9e311b16c2599233db848e68f13a4c9d18
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