git-cliff: update to 2.0.2

This commit is contained in:
Marcin Puc 2024-02-19 13:26:03 +01:00 committed by Đoàn Trần Công Danh
parent 401716450e
commit 1b7ad0c45a
2 changed files with 12 additions and 8 deletions

View File

@ -1,12 +1,12 @@
diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml diff --git a/git-cliff-core/Cargo.toml b/git-cliff-core/Cargo.toml
index fbcfbb2..7209a63 100644 index d7611bc..f88a763 100644
--- a/git-cliff-core/Cargo.toml --- a/git-cliff-core/Cargo.toml
+++ b/git-cliff-core/Cargo.toml +++ b/git-cliff-core/Cargo.toml
@@ -28,7 +28,7 @@ toml = "0.8.1" @@ -59,7 +59,7 @@ futures = { version = "0.3.30", optional = true }
lazy-regex = "3.0.2" url = "2.5.0"
[dependencies.git2] [dependencies.git2]
-version = "0.18.1" -version = "0.18.2"
+version = "0.17" +version = "0.17"
default-features = false default-features = false
optional = true optional = true

View File

@ -1,12 +1,16 @@
# Template file for 'git-cliff' # Template file for 'git-cliff'
pkgname=git-cliff pkgname=git-cliff
version=1.4.0 version=2.0.2
revision=1 revision=1
archs="x86_64* i686* aarch64* arm*" # ring archs="x86_64* i686* aarch64* arm*" # ring
build_style=cargo build_style=cargo
build_helper=qemu build_helper=qemu
make_install_args="--path git-cliff" make_install_args="--path git-cliff"
make_check_args="-- --skip repo::test::git_log --skip repo::test::git_tags" # This test fails without a git repo # These tests fail without a git repo
make_check_args="--
--skip repo::test::git_log
--skip repo::test::git_tags
--skip repo::test::git_upstream_remote"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libgit2-devel" makedepends="libgit2-devel"
short_desc="Changelog generator based on conventional commits" short_desc="Changelog generator based on conventional commits"
@ -15,10 +19,10 @@ license="Apache-2.0, MIT"
homepage="https://github.com/orhun/git-cliff" homepage="https://github.com/orhun/git-cliff"
changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md" changelog="https://raw.githubusercontent.com/orhun/git-cliff/main/CHANGELOG.md"
distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/orhun/git-cliff/archive/refs/tags/v${version}.tar.gz"
checksum=8ec9a2c9cd0e97a8111a82bcf2fce415f40818897bdc76a2c5cc63d99114ec30 checksum=ab29fbda532bec2a344d99f39b7998063c576efee92a1bee083c6fba5f52e4ef
post_patch() { post_patch() {
cargo update --package git2@0.18.1 --precise 0.17.2 cargo update --package git2@0.18.2 --precise 0.17.2
} }
post_install() { post_install() {