Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / dotnet-core
Commits: 3428dd67 by Maxime Gauduin at 2026-05-28T16:53:23+02:00 fix nvchecker - - - - - 2 changed files: - .nvchecker.toml - PKGBUILD Changes: ===================================== .nvchecker.toml ===================================== @@ -1,4 +1,8 @@ -[dotnet-core] -source = "git" -git = "https://github.com/dotnet/dotnet.git" -prefix = "v" +["dotnet-core"] +source = "github" +github = "dotnet/dotnet" +use_max_release = true +use_release_name = true +include_regex = '^\.NET \d+\.0\.\d+ / \d+\.0\.1\d+\s*$' +from_pattern = '^\.NET (\d+\.0\.\d+) / \d+\.0\.(\d+)\s*$' +to_pattern = '\1.sdk\2' ===================================== PKGBUILD ===================================== @@ -43,8 +43,7 @@ options=( !lto staticlibs ) -_tag=94ea82652cdd4e0f8046b5bd5becbd11461482ca -source=(git+https://github.com/dotnet/dotnet.git#tag=${_tag}) +source=(git+https://github.com/dotnet/dotnet.git#tag=v${pkgver/.*.sdk/.0.}) b2sums=('0eb4a3d96e400231b94b7905e19f95e00c6890e31a849078f08ea500b2275634beb7546e916d719120cb0988e44d81a7b1c6d509164962f38c49e4b550e6d434') prepare() { @@ -63,30 +62,6 @@ prepare() { ./prep-source-build.sh } -pkgver() { - cd dotnet - - if [[ $(git describe --tags) != v10.0.* ]]; then - msg "Invalid SDK version" - exit 1 - fi - - local _standardver=$(xmllint --xpath "//*[local-name()='NETStandardLibraryRefPackageVersion']/text()" src/sdk/eng/Version.Details.props) - - if [[ $_standardver != 2.1.0 ]]; then - msg "Invalid Standard version" - exit 1 - fi - - local _runtimemajorver=$(xmllint --xpath "//*[local-name()='MajorVersion']/text()" src/runtime/eng/Versions.props) - local _runtimeminorver=$(xmllint --xpath "//*[local-name()='MinorVersion']/text()" src/runtime/eng/Versions.props) - local _runtimepatchver=$(xmllint --xpath "//*[local-name()='PatchVersion']/text()" src/runtime/eng/Versions.props) - local _sdkminorver=$(xmllint --xpath "//*[local-name()='VersionSDKMinor']/text()" src/sdk/eng/Versions.props) - local _sdkminorpatchver=$(xmllint --xpath "//*[local-name()='VersionSDKMinorPatch']/text()" src/sdk/eng/Versions.props) - - echo "${_runtimemajorver}.${_runtimeminorver}.${_runtimepatchver}.sdk${_sdkminorver}$(printf %02d ${_sdkminorpatchver})" -} - build() { cd dotnet View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core/-/commit/3428dd67bb60d841b124efb2c019be032803e765 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/dotnet-core/-/commit/3428dd67bb60d841b124efb2c019be032803e765 You're receiving this email because of your account on gitlab.archlinux.org. Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications | Help: https://gitlab.archlinux.org/help
