Skip to content

Commit

Permalink
deps: non-default vendored-openssl feature, pin cocogitto (#98)
Browse files Browse the repository at this point in the history
Makes the change introduced in 70d5b2e optional and only be used in
Windows builds. Pinned cocogitto because it doesn't respect semantic
versioning yet.

Closes #90
  • Loading branch information
cococonscious authored Sep 17, 2024
1 parent c396e9f commit f818ed9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/call-build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
tag_ref:
required: true
type: string
workflow_dispatch:
inputs:
package_name:
description: The name of the package (e.g. 'koji')
required: true
type: string
tag_ref:
description: The tag reference (e.g. 'refs/tags/v0.1.0')
required: true
type: string

env:
CARGO_INCREMENTAL: 0
Expand All @@ -31,6 +41,7 @@ jobs:
name: ${{ matrix.target }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-unknown-linux-gnu
Expand Down Expand Up @@ -64,4 +75,5 @@ jobs:
target: ${{ matrix.target }}
tar: all
zip: windows
features: ${{ contains(matrix.target, 'windows') && 'vendored-openssl' || '' }}
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/push-release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ jobs:
package_name: ${{ matrix.release.package_name }}
tag_ref: refs/tags/${{ matrix.release.tag }}
strategy:
fail-fast: false
matrix:
release: ${{ fromJson(needs.release-plz.outputs.releases) }}
12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
name = "koji"
version = "2.2.0"
edition = "2021"
authors = ["Finley Thomalla <finley@thomalla.ch>", "Danny Tatom <its.danny@hey.com>"]
authors = [
"Finley Thomalla <finley@thomalla.ch>",
"Danny Tatom <its.danny@hey.com>",
]
description = "An interactive CLI for creating conventional commits."
documentation = "https://docs.rs/koji"
repository = "https://github.com/cococonscious/koji"
Expand All @@ -19,16 +22,19 @@ path = "src/lib/lib.rs"
[dependencies]
anyhow = "1.0"
clap = { version = "4.4", features = ["derive"] }
cocogitto = { version = "6.0", default-features = false }
cocogitto = { version = "< 6.1", default-features = false }
conventional_commit_parser = "0.9"
dirs = "5.0"
emojis = "0.6"
git2 = { version = "0.18", features = ["vendored-openssl"] }
git2 = { version = "0.18" }
indexmap = "2.1"
requestty = "0.5"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"

[features]
vendored-openssl = ["git2/vendored-openssl"]

[dev-dependencies]
rusty-hook = "0.11"

Expand Down

0 comments on commit f818ed9

Please sign in to comment.