Skip to content

Commit b14db7b

Browse files
Prepare 0.7.0 release (#39)
## Summary - bump all workspace package versions and `Cargo.lock` to 0.7.0 - fail release preflight when the requested release version differs from the root package version - update the release workflow input example ## Validation - verified all workspace manifests and lockfile entries use 0.7.0 - verified the preflight guard accepts 0.7.0 and rejects an incorrect version - `git diff --check` Rust build/test validation was unavailable locally because no default Rust toolchain is configured. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent d8df54e commit b14db7b

11 files changed

Lines changed: 30 additions & 19 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: Release version to build/publish (for example 0.6.3)
7+
description: Release version to build/publish (for example 0.7.0)
88
required: true
99
type: string
1010
publish_nuget:
@@ -97,6 +97,17 @@ jobs:
9797
}
9898
9999
$releaseTag = "v$releaseVersion"
100+
$manifestVersionMatch = Select-String -LiteralPath 'Cargo.toml' -Pattern '^version\s*=\s*"([^"]+)"' |
101+
Select-Object -First 1
102+
if (-not $manifestVersionMatch) {
103+
throw 'Unable to resolve the psign package version from Cargo.toml.'
104+
}
105+
106+
$manifestVersion = $manifestVersionMatch.Matches[0].Groups[1].Value
107+
if ($manifestVersion -ne $releaseVersion) {
108+
throw "Release version $releaseVersion does not match Cargo.toml package version $manifestVersion."
109+
}
110+
100111
$isMasterBranch = $sourceBranch -eq 'master'
101112
$publishNuget = Parse-BoolOrDefault '${{ github.event.inputs.publish_nuget }}' $false
102113
$publishPsgallery = Parse-BoolOrDefault '${{ github.event.inputs.publish_psgallery }}' $false

‎Cargo.lock‎

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ repository = "https://github.com/Devolutions/psign"
3030

3131
[package]
3232
name = "psign"
33-
version = "0.6.3"
33+
version = "0.7.0"
3434
edition = "2024"
3535
description = "Rust port of the Windows SDK signtool.exe (Authenticode sign/verify/timestamp) with portable digest helpers."
3636
license.workspace = true

‎crates/psign-authenticode-trust/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-authenticode-trust"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Portable Authenticode PKCS#7 trust verification (anchors, chain, EKU) using picky-rs"
66
license.workspace = true

‎crates/psign-azure-kv-rest/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-azure-kv-rest"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Azure Key Vault certificate metadata + keys/sign REST (portable, blocking HTTP)"
66
license.workspace = true

‎crates/psign-codesigning-rest/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-codesigning-rest"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Azure Code Signing data-plane CertificateProfileOperations Sign LRO (portable, blocking HTTP)"
66
license.workspace = true

‎crates/psign-digest-cli/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-digest-cli"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Linux/macOS-friendly CLI over portable Authenticode SIP digests (psign-sip-digest)"
66
license.workspace = true

‎crates/psign-opc-sign/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-opc-sign"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Portable OPC, VSIX, and NuGet package signing primitives"
66
license.workspace = true

‎crates/psign-portable-core/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-portable-core"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "Reusable portable Authenticode signing and inspection APIs for psign"
66
license.workspace = true

‎crates/psign-portable-ffi/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psign-portable-ffi"
3-
version = "0.6.3"
3+
version = "0.7.0"
44
edition = "2024"
55
description = "C ABI shared library for psign portable Authenticode operations"
66
license.workspace = true

0 commit comments

Comments
 (0)