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
1 changed file:
Changes:
| ... | ... | @@ -139,6 +139,7 @@ class ReleasePreparation: |
| 139 | 139 | self.update_zstd()
|
| 140 | 140 | self.update_go()
|
| 141 | 141 | self.update_manual()
|
| 142 | + self.update_moat_settings()
|
|
| 142 | 143 | |
| 143 | 144 | self.update_changelogs()
|
| 144 | 145 | self.update_rbm_conf()
|
| ... | ... | @@ -521,6 +522,18 @@ class ReleasePreparation: |
| 521 | 522 | logger.info("Updating the manual")
|
| 522 | 523 | update_manual(self.gitlab_token, self.base_path)
|
| 523 | 524 | |
| 525 | + def update_moat_settings(self):
|
|
| 526 | + proj = "moat-settings"
|
|
| 527 | + |
|
| 528 | + repo = Repo(self.base_path / "git_clones" / proj)
|
|
| 529 | + origin = repo.remotes["origin"]
|
|
| 530 | + origin.fetch()
|
|
| 531 | + commit = origin.refs["main"].commit.hexsha
|
|
| 532 | + |
|
| 533 | + config = self.load_config(proj)
|
|
| 534 | + config["git_hash"] = commit
|
|
| 535 | + self.save_config(proj, config)
|
|
| 536 | + |
|
| 524 | 537 | def get_last_releases(self):
|
| 525 | 538 | logger.info("Finding the previous releases.")
|
| 526 | 539 | sorted_tags = get_sorted_tags(self.repo)
|