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:
parent
3d71388710
commit
047471c529
9 changed files with 9 additions and 9 deletions
2
.github/workflows/compilers.yml
vendored
2
.github/workflows/compilers.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/mingw.yml
vendored
2
.github/workflows/mingw.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/mjit.yml
vendored
2
.github/workflows/mjit.yml
vendored
|
@ -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: |
|
||||
|
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
|
@ -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:
|
||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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]*\)/]{' \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue