From d6b709adff672e6c8f04cfbc64f0b50ae49c6f57 Mon Sep 17 00:00:00 2001 From: Satish Mane Date: Thu, 23 Jul 2026 17:03:00 +0530 Subject: [PATCH] Update to .NET SDK 8.0.129 and Runtime 8.0.29 Resolves: RHEL-192465 --- .gitignore | 2 + dotnet8.0.spec | 16 ++- release.json | 12 +- sources | 4 +- update-release | 327 ------------------------------------------------- 5 files changed, 20 insertions(+), 341 deletions(-) delete mode 100755 update-release diff --git a/.gitignore b/.gitignore index fcabebf..f4395aa 100644 --- a/.gitignore +++ b/.gitignore @@ -86,3 +86,5 @@ /dotnet-8.0.127.tar.gz.sig /dotnet-8.0.128.tar.gz /dotnet-8.0.128.tar.gz.sig +/dotnet-8.0.129.tar.gz +/dotnet-8.0.129.tar.gz.sig diff --git a/dotnet8.0.spec b/dotnet8.0.spec index e9aacf2..affda9f 100644 --- a/dotnet8.0.spec +++ b/dotnet8.0.spec @@ -12,15 +12,15 @@ # dotnet-host and netstandard-targeting-pack-2.1 %global is_latest_dotnet 0 -%global host_version 8.0.28 -%global runtime_version 8.0.28 -%global aspnetcore_runtime_version 8.0.28 -%global sdk_version 8.0.128 +%global host_version 8.0.29 +%global runtime_version 8.0.29 +%global aspnetcore_runtime_version 8.0.29 +%global sdk_version 8.0.129 %global sdk_feature_band_version %(echo %{sdk_version} | cut -d '-' -f 1 | sed -e 's|[[:digit:]][[:digit:]]$|00|') %global templates_version %{runtime_version} #%%global templates_version %%(echo %%{runtime_version} | awk 'BEGIN { FS="."; OFS="." } {print $1, $2, $3+1 }') -%global upstream_tag v8.0.128 +%global upstream_tag v8.0.129 %global upstream_tag_without_v %(echo %{upstream_tag} | sed -e 's|^v||') %global host_rpm_version %{host_version} @@ -57,7 +57,7 @@ Name: dotnet%{dotnetver} Version: %{sdk_rpm_version} -Release: 3%{?dist} +Release: 2%{?dist} Summary: .NET Runtime and SDK License: 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib @@ -841,6 +841,10 @@ export COMPlus_LTTng=0 %changelog +* Thu Jul 23 2026 Satish Mane - 8.0.129-2 +- Update to .NET SDK 8.0.129 and Runtime 8.0.29 +- Resolves: RHEL-192465 + * Thu Jul 02 2026 Tom Deseyn - 8.0.128-3 - Reduce time to detect hanging builds - Resolves: RHEL-191649 diff --git a/release.json b/release.json index cc4621b..5afd451 100644 --- a/release.json +++ b/release.json @@ -1,10 +1,10 @@ { - "release": "8.0.28", + "release": "8.0.29", "channel": "8.0", - "tag": "v8.0.128", - "sdkVersion": "8.0.128", - "runtimeVersion": "8.0.28", - "aspNetCoreVersion": "8.0.28", + "tag": "v8.0.129", + "sdkVersion": "8.0.129", + "runtimeVersion": "8.0.29", + "aspNetCoreVersion": "8.0.29", "sourceRepository": "https://github.com/dotnet/dotnet", - "sourceVersion": "b8c15cdca7da2fa00c82bc2ee538bd88af758b8f" + "sourceVersion": "761968561827fbf9fd55e1259e7e0963b1a5613a" } diff --git a/sources b/sources index 9a46ac7..20f456b 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (dotnet-8.0.128.tar.gz) = 6d405965f8d4c9afda7ac2ce33d7af7f9b6a316cf00951a447498ecf2152e2e1d6b5e4561d6535592e9fe1c5f18636547e754a00ad73ab230c8ac803f7f8b56f -SHA512 (dotnet-8.0.128.tar.gz.sig) = 1e0a506faaa7a9dfa92f9abaca33b0bc11407f1f1fc41777a7b49f55ba7305050f9611845ce4f688fd64d5874226dc00843982c2842905710036017c20fba6b0 +SHA512 (dotnet-8.0.129.tar.gz) = 4b81d3f9d6d3ce54254dd70bd92e877cce5e044e2a0b362f5b893b5fa21e42141cf5809a03b1c7e4c91486820ebf749b4fbc0c738e4bc37315d7581f152261dc +SHA512 (dotnet-8.0.129.tar.gz.sig) = d71afad1e91196b7cc589e1ed0e06103b1498dfed769fdf21eba4136ffb4b6268d7466cb5fda5d1f00393b1d808f969448b2ff86bd456c6adef1a600f2b1d0da diff --git a/update-release b/update-release deleted file mode 100755 index 6aeb6cd..0000000 --- a/update-release +++ /dev/null @@ -1,327 +0,0 @@ -#!/bin/bash - -set -euo pipefail -IFS=$'\n\t' - -# Notes: this only works with 1xx sdks, the versions shipped in Fedora/RHEL/CentOS Stream. - -print_usage() { - echo " Usage:" - echo " ./update-release [VERSION] [--bootstrap] [--bug bug-id] [--tarball tarball-name] [--release-json release-json] [--larger-rpm-release]" - echo "" - echo "VERSION can be:" - echo " - latest-release: latest release for this major.minor version of .NET (default unless --release-json and --tarball are used)" - echo " - exact version (SDK or runtime, eg, 9.0.5 or 10.0.124)" - echo " - omitted if --release-json and --tarball are used (uses local mode)" - echo " - latest-commit: the latest commit for this major.minor version of .NET" - echo "" - echo "If not specified, 'latest-release' is the default." - echo "" - echo "When done, it creates the following files:" - echo " - release.json" - echo " - git-commit-message: commit message to use with the git commit for the update" - echo "" - echo "" - echo "Options:" - echo " --bootstrap Build binary bootstrap artifacts for this release." - echo " --bug bug-id Add the named bug/issue identifier to the changelog and commit message." - echo " --tarball tarball-name Use the supplied tarball. Use with --release-json." - echo " --release-json release-json Use the supplied release.json. Use with --tarball." - echo " --larger-rpm-release Set the release to 2." - echo "" -} - -download_release_json() { - version=$1 - if [[ "$version" =~ ^[0-9]+\.[0-9]+$ ]]; then - # major.minor format. intentionally filter to major.minor.1xx. - cat > query <<'EOF' - [ .[] | select(.name | test("\\.NET .*\($v)(\\.1\\d{2}| (Preview|RC) \\d+)")) ] - | first - | { tag_name: .tag_name, - tarball: .tarball_url, - signature: .assets[].browser_download_url | select(. | endswith("tar.gz.sig")), - release_manifest: .assets[] | select(.name == "release.json") | .browser_download_url } -EOF - elif [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then - # major.minor.patch. Might be the SDK version or Runtime version - cat > query <<'EOF' - [ .[] | select(.name | test("\\.NET .*\($v)")) ] - | first - | { tag_name: .tag_name, - tarball: .tarball_url, - signature: .assets[].browser_download_url | select(. | endswith("tar.gz.sig")), - release_manifest: .assets[] | select(.name == "release.json") | .browser_download_url } -EOF - else - echo "error: unable to parse $version" - exit 1 - fi - curl https://api.github.com/repos/dotnet/dotnet/releases \ - | jq --arg v "$version" --from-file query > release.metadata.github - curl -L "$(jq -r .release_manifest release.metadata.github)" -o release.json -} - -assert_file_exists() { - file=$1 - if [[ ! -f "${file}" ]]; then - echo "error: ${file} not found" - exit 1 - fi -} - - -user_provided_tarball_name="" - -rpm_release=1 -positional_args=() -bug_ids=() -bootstrap=0 -while [[ "$#" -gt 0 ]]; do - arg="$1" - case "${arg}" in - --bootstrap) - bootstrap=1 - shift; - ;; - --bug) - bug_ids+=("$2") - shift; - shift; - ;; - -h|--help) - print_usage - exit 0 - ;; - --release-json) - release_json="$2" - assert_file_exists "${release_json}" - shift; - shift; - ;; - --tarball) - user_provided_tarball_name="$2" - assert_file_exists "${user_provided_tarball_name}" - shift; - shift; - ;; - --larger-rpm-release) - rpm_release="2" - shift; - ;; - *) - positional_args+=("$1") - shift - ;; - esac -done - -set -x - -spec_files=( ./*.spec ) -spec_file="${spec_files[0]}" -assert_file_exists "$spec_file" - -dotnet_major_minor_version=$spec_file -dotnet_major_minor_version=${dotnet_major_minor_version#./dotnet} -dotnet_major_minor_version=${dotnet_major_minor_version%.spec} -if ! [[ "$dotnet_major_minor_version" =~ ^[0-9]+\.[0-9]+$ ]]; then - echo "error: Unable to guess the current .NET major.minor version. Expected to get a two-digit .NET version, but got $dotnet_major_minor_version"; - exit 1 -fi - -echo "Updating .NET $dotnet_major_minor_version" - -version=${positional_args[0]:-} -sdk_version="" -created_release_json=0 - -if [[ ${version} == "" ]]; then - if [[ -n "${release_json:-}" ]] || [[ -n "${user_provided_tarball_name:-}" ]]; then - if [[ -n "${release_json:-}" ]] && [[ -n "${user_provided_tarball_name:-}" ]]; then - version=local - else - echo "error: please provide both --release-json and --tarball for local-only mode" - exit 1 - fi - else - version=latest-release - fi -fi - -if [[ ${version} == latest-release ]]; then - if [[ -n "${release_json:-}" ]]; then - echo "error: don't know how to combine upstream latest release's release.json with the locally supplied one" - exit 1 - fi - download_release_json "${dotnet_major_minor_version}" -elif [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; then # matches x.y.z (and x.y.z-preview.N, etc.) - if [[ -n "${release_json:-}" ]] && [[ -n "${user_provided_tarball_name:-}" ]] ; then - echo "error: don't know how to combine explicit upstream version with release.json and tarball" - exit 1 - fi - download_release_json "${version}" -elif [[ ${version} == latest-commit ]]; then - branch=release/${dotnet_major_minor_version}.1xx - if [[ ${dotnet_major_minor_version} == 11.0 ]]; then - branch=main - fi - - cat > query < release.metadata.github - commit=$(jq -r .commit.sha release.metadata.github) - jq >release.json < git-commit-message - -rpmdev-bumpspec --comment="$comment" "$spec_file" - -# Reset release in 'Release' tag -sed -i -E 's|^Release: [[:digit:]]+%|Release: '"$rpm_release"'%|' "$spec_file" -# Reset Release in changelog comment -# See https://stackoverflow.com/questions/18620153/find-matching-text-and-replace-next-line -sed -i -E '/^%changelog$/!b;n;s/-[[:digit:]]+$/-'"$rpm_release"'/' "$spec_file" - -echo "Done updating sources. Commit message in ./git-commit-message"