Automatically open a PR to bump the calver (#4167)

* Update our tools package to Swift 6.1

Also improves the package layout with subdirectories 📁

* Update GenerateSDKMocks to be an Async command.

* Add a tool to bump the project CalVer every month.

* Add a workflow to automatically bump the calendar version.

Note: This only does year & month, the patch is handled by the release script.
This commit is contained in:
Doug
2025-06-03 17:52:16 +01:00
committed by GitHub
parent f0c7ad1141
commit cf6afcf647
16 changed files with 154 additions and 82 deletions
+8
View File
@@ -0,0 +1,8 @@
import ArgumentParser
import Foundation
extension URL {
static var projectDirectory: URL { URL(fileURLWithPath: FileManager.default.currentDirectoryPath) }
static var parentDirectory: URL { .projectDirectory.deletingLastPathComponent() }
static var sdkDirectory: URL { .parentDirectory.appendingPathComponent("matrix-rust-sdk") }
}