public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Eugene Rozenfeld <erozen@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/vendors/microsoft/heads/releases/gcc-11)] Fix gcc 11 version, remove version hard-coding.
Date: Sat, 30 Jul 2022 00:30:40 +0000 (GMT)	[thread overview]
Message-ID: <20220730003040.835053858D3C@sourceware.org> (raw)

https://gcc.gnu.org/g:1b39a04fd867bcd09e51ee27d64c3cf79458eb36

commit 1b39a04fd867bcd09e51ee27d64c3cf79458eb36
Author: Eugene Rozenfeld <erozen@microsoft.com>
Date:   Fri Jul 29 16:07:03 2022 -0700

    Fix gcc 11 version, remove version hard-coding.

Diff:
---
 .github/Mariner/specs/{11.2.1 => 11.2.0}/gcc.specs | 2 +-
 .github/actions/build-tarball/action.yaml          | 2 +-
 .github/workflows/package-rpm.yaml                 | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/Mariner/specs/11.2.1/gcc.specs b/.github/Mariner/specs/11.2.0/gcc.specs
similarity index 99%
rename from .github/Mariner/specs/11.2.1/gcc.specs
rename to .github/Mariner/specs/11.2.0/gcc.specs
index bd6e8a346bb..109220504ba 100644
--- a/.github/Mariner/specs/11.2.1/gcc.specs
+++ b/.github/Mariner/specs/11.2.0/gcc.specs
@@ -2,7 +2,7 @@
 %define _use_internal_dependency_generator 0
 Summary:        Contains the GNU compiler collection
 Name:           gcc
-Version:        11.2.1
+Version:        11.2.0
 Release:        2%{?dist}
 License:        GPLv2+
 Vendor:         Microsoft Corporation
diff --git a/.github/actions/build-tarball/action.yaml b/.github/actions/build-tarball/action.yaml
index 3949c37b7f7..a86cba8dc94 100644
--- a/.github/actions/build-tarball/action.yaml
+++ b/.github/actions/build-tarball/action.yaml
@@ -34,7 +34,7 @@ runs:
       run: echo "branch_name=${{ github.head_ref || github.ref_name }}" >> $GITHUB_ENV
 
     # This step will set an environment variable for release name.
-    # e.g. release_version=11.2.1
+    # e.g. release_version=11.2.0
     - name: Set Environment Variable For Release Version
       shell: bash
       working-directory: ./gcc
diff --git a/.github/workflows/package-rpm.yaml b/.github/workflows/package-rpm.yaml
index 1e667eb4b2c..d456849e63a 100644
--- a/.github/workflows/package-rpm.yaml
+++ b/.github/workflows/package-rpm.yaml
@@ -82,7 +82,7 @@ jobs:
       # The flags are bare minimum, and we are forcing rpmbuild to build everything.     
       - name: Build RPM
         working-directory: ./gcc
-        run: rpmbuild -bb --rebuild --clean --verbose --nocheck  .github/Mariner/specs/11.2.1/gcc.specs
+        run: rpmbuild -bb --rebuild --clean --verbose --nocheck  .github/Mariner/specs/${{ env.release_version }}/gcc.specs
         shell: bash
 
       # Upload gcc-${{ env.release_version }}-rpms folder to the Github Action artifact storage.


                 reply	other threads:[~2022-07-30  0:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220730003040.835053858D3C@sourceware.org \
    --to=erozen@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).