1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

No GITPULLOPTIONS by default

To honor the environment variable, keep GITPULLOPTIONS unset by
default, and appended the option to VCSUP.
This commit is contained in:
Nobuyoshi Nakada 2020-06-04 10:26:40 +09:00
parent 3d71388710
commit 047471c529
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
9 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ env:
UNICODE_AUXILIARY_FILES=.
UNICODE_EMOJI_FILES=.
CONFIGURE_TTY: never
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
RUBY_DEBUG: ci rgengc
RUBY_TESTOPTS: >-
-q

View file

@ -8,7 +8,7 @@ jobs:
test_task: [ "check", "test-bundler", "test-bundled-gems", "leaked-globals" ]
fail-fast: false
env:
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Disable Firewall

View file

@ -17,7 +17,7 @@ jobs:
CPPFLAGS: "-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048"
LDFLAGS: "-pipe -fstack-protector-strong"
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
strategy:
matrix:
test_task: [ "check" ] # to make job names consistent

View file

@ -12,7 +12,7 @@ jobs:
env:
TESTOPTS: '-q --tty=no'
RUN_OPTS: '--disable-gems --jit-warnings ${{ matrix.jit_opts }}'
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
steps:
- name: Install libraries
run: |

View file

@ -24,7 +24,7 @@ jobs:
debug: -DRUBY_DEBUG
fail-fast: false
env:
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:

View file

@ -10,7 +10,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
env:
GITPULLOPTIONS: --no-tags
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/cache@v1

View file

@ -38,7 +38,7 @@ RUBYLIB = $(PATH_SEPARATOR)
RUBYOPT = -
RUN_OPTS = --disable-gems
GITPULLOPTIONS = --rebase
# GITPULLOPTIONS = --no-tags
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(UNICODE_HDR_DIR)

View file

@ -4055,7 +4055,7 @@ AC_CONFIG_FILES(Makefile:template/Makefile.in, [
VCS='echo cannot'
])
AS_CASE("$VCS",
['$(GIT)'|git], [VCSUP='$(VCS) pull $(GITPULLOPTIONS)'],
['$(GIT)'|git], [VCSUP='$(VCS) pull --rebase $(GITPULLOPTIONS)'],
[VCSUP='$(VCS)'])
sed -n \
-e '[/^@%:@define \(RUBY_RELEASE_[A-Z]*\) \([0-9][0-9]*\)/]{' \

View file

@ -499,7 +499,7 @@ HAVE_GIT = no
!if defined(VCS)
!else if exist($(srcdir)/.git)
VCS = $(GIT)
VCSUP = $(VCS) pull $(GITPULLOPTIONS)
VCSUP = $(VCS) pull --rebase $(GITPULLOPTIONS)
!else
VCSUP = rem
!endif