Skip to content

Commit b79c9dc

Browse files
authored
Fix release CI (#1888)
* Fix the release CI Signed-off-by: William Woodruff <william@yossarian.net> * Bump rc, unify versions further Signed-off-by: William Woodruff <william@yossarian.net> --------- Signed-off-by: William Woodruff <william@yossarian.net>
1 parent eb113ad commit b79c9dc

10 files changed

Lines changed: 27 additions & 25 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# - `release-binaries.yml`: build and attach binaries to the new release on GitHub
77
# - `release-pypi.yml`: build and publish distributions of zizmor to PyPI
8-
# - `release-zizmor-crate.yml`: publish the zizmor crate to crates.io
8+
# - `release-crates.yml`: publish the zizmor crates to crates.io
99
#
1010
# To enable those child workflows, this workflow creates the release
1111
# and then invokes each as a reusable workflow, passing the tag as an input.
@@ -86,13 +86,13 @@ jobs:
8686
with:
8787
release-tag: ${{ needs.plan-release.outputs.release-tag }}
8888

89-
release-zizmor-crate:
90-
name: Publish zizmor crate to crates.io for ${{ needs.plan-release.outputs.release-tag }}
89+
release-crates:
90+
name: Publish zizmor crates to crates.io for ${{ needs.plan-release.outputs.release-tag }}
9191
needs: [plan-release, draft-release]
9292

9393
permissions:
9494
id-token: write # for Trusted Publishing to crates.io
9595

96-
uses: ./.github/workflows/release-zizmor-crate.yml
96+
uses: ./.github/workflows/release-crates.yml
9797
with:
9898
release-tag: ${{ needs.plan-release.outputs.release-tag }}

Cargo.lock

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

Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ homepage = "https://docs.zizmor.sh"
1717
edition = "2024"
1818
license = "MIT"
1919
rust-version = "1.88.0"
20+
version = "1.24.0-rc2"
2021

2122
[workspace.dependencies]
22-
github-actions-expressions = { path = "crates/github-actions-expressions", version = "1.24.0-rc1" }
23-
github-actions-models = { path = "crates/github-actions-models", version = "1.24.0-rc1" }
24-
subfeature = { path = "crates/subfeature", version = "1.24.0-rc1" }
25-
tree-sitter-iter = { path = "crates/tree-sitter-iter", version = "1.24.0-rc1" }
26-
yamlpath = { path = "crates/yamlpath", version = "1.24.0-rc1" }
27-
yamlpatch = { path = "crates/yamlpatch", version = "1.24.0-rc1" }
23+
github-actions-expressions = { path = "crates/github-actions-expressions", version = "1.24.0-rc2" }
24+
github-actions-models = { path = "crates/github-actions-models", version = "1.24.0-rc2" }
25+
subfeature = { path = "crates/subfeature", version = "1.24.0-rc2" }
26+
tree-sitter-iter = { path = "crates/tree-sitter-iter", version = "1.24.0-rc2" }
27+
yamlpath = { path = "crates/yamlpath", version = "1.24.0-rc2" }
28+
yamlpatch = { path = "crates/yamlpatch", version = "1.24.0-rc2" }
2829

2930
anyhow = "1.0.102"
3031
itertools = "0.14.0"

crates/github-actions-expressions/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "github-actions-expressions"
33
description = "GitHub Actions expression parser and data types"
44
repository = "https://github.com/zizmorcore/zizmor/tree/main/crates/github-actions-expressions"
5-
version = "1.24.0-rc1"
65
readme = "README.md"
76

7+
version.workspace = true
88
homepage.workspace = true
99
license.workspace = true
1010
authors.workspace = true

crates/github-actions-models/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "github-actions-models"
3-
version = "1.24.0-rc1"
43
description = "Unofficial, high-quality data models for GitHub Actions workflows, actions, and related components"
54
repository = "https://github.com/zizmorcore/zizmor/tree/main/crates/github-actions-models"
65
keywords = ["github", "ci"]
76
categories = ["api-bindings"]
87
readme = "README.md"
98

9+
version.workspace = true
1010
authors.workspace = true
1111
homepage.workspace = true
1212
edition.workspace = true

crates/subfeature/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "subfeature"
33
description = "Subfeature handling and manipulation APIs"
44
repository = "https://github.com/zizmorcore/zizmor/tree/main/crates/subfeature"
5-
version = "1.24.0-rc1"
65
readme = "README.md"
76

7+
version.workspace = true
88
authors.workspace = true
99
homepage.workspace = true
1010
edition.workspace = true

crates/tree-sitter-iter/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[package]
22
name = "tree-sitter-iter"
33
description = "A very simple pre-order iterator for tree-sitter CSTs"
4-
version = "1.24.0-rc1"
4+
5+
version.workspace = true
56
authors.workspace = true
67
homepage.workspace = true
78
edition.workspace = true

crates/yamlpatch/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "yamlpatch"
3-
version = "1.24.0-rc1"
43
description = "Comment and format-preserving YAML patch operations"
54
repository = "https://github.com/zizmorcore/zizmor/tree/main/crates/yamlpatch"
65
keywords = ["yaml", "patch"]
7-
86
authors = [
97
"Mostafa Moradian <mstfmoradian@gmail.com>",
108
"William Woodruff <william@yossarian.net>",
119
]
10+
11+
version.workspace = true
1212
homepage.workspace = true
1313
edition.workspace = true
1414
license.workspace = true

crates/yamlpath/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "yamlpath"
3-
version = "1.24.0-rc1"
43
description = "Format-preserving YAML feature extraction"
54
repository = "https://github.com/zizmorcore/zizmor/tree/main/crates/yamlpath"
65
readme = "README.md"
76
keywords = ["yaml"]
87

8+
version.workspace = true
99
authors.workspace = true
1010
homepage.workspace = true
1111
edition.workspace = true

crates/zizmor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "zizmor"
33
description = "Static analysis for GitHub Actions"
4-
version = "1.24.0-rc1"
54
repository = "https://github.com/zizmorcore/zizmor"
65
documentation = "https://docs.zizmor.sh"
76
keywords = ["cli", "github-actions", "static-analysis", "security"]
87
categories = ["command-line-utilities", "security"]
98

9+
version.workspace = true
1010
homepage.workspace = true
1111
license.workspace = true
1212
readme.workspace = true

0 commit comments

Comments
 (0)