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
2
.github/workflows/compilers.yml
vendored
2
.github/workflows/compilers.yml
vendored
@ -33,7 +33,7 @@ env:
|
|||||||
UNICODE_AUXILIARY_FILES=.
|
UNICODE_AUXILIARY_FILES=.
|
||||||
UNICODE_EMOJI_FILES=.
|
UNICODE_EMOJI_FILES=.
|
||||||
CONFIGURE_TTY: never
|
CONFIGURE_TTY: never
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
RUBY_DEBUG: ci rgengc
|
RUBY_DEBUG: ci rgengc
|
||||||
RUBY_TESTOPTS: >-
|
RUBY_TESTOPTS: >-
|
||||||
-q
|
-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" ]
|
test_task: [ "check", "test-bundler", "test-bundled-gems", "leaked-globals" ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
- name: Disable Firewall
|
- 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"
|
CPPFLAGS: "-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048"
|
||||||
LDFLAGS: "-pipe -fstack-protector-strong"
|
LDFLAGS: "-pipe -fstack-protector-strong"
|
||||||
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
|
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
test_task: [ "check" ] # to make job names consistent
|
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:
|
env:
|
||||||
TESTOPTS: '-q --tty=no'
|
TESTOPTS: '-q --tty=no'
|
||||||
RUN_OPTS: '--disable-gems --jit-warnings ${{ matrix.jit_opts }}'
|
RUN_OPTS: '--disable-gems --jit-warnings ${{ matrix.jit_opts }}'
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
steps:
|
steps:
|
||||||
- name: Install libraries
|
- name: Install libraries
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
debug: -DRUBY_DEBUG
|
debug: -DRUBY_DEBUG
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
env:
|
env:
|
||||||
GITPULLOPTIONS: --no-tags
|
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
|
@ -38,7 +38,7 @@ RUBYLIB = $(PATH_SEPARATOR)
|
|||||||
RUBYOPT = -
|
RUBYOPT = -
|
||||||
RUN_OPTS = --disable-gems
|
RUN_OPTS = --disable-gems
|
||||||
|
|
||||||
GITPULLOPTIONS = --rebase
|
# GITPULLOPTIONS = --no-tags
|
||||||
|
|
||||||
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir) -I$(UNICODE_HDR_DIR)
|
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'
|
VCS='echo cannot'
|
||||||
])
|
])
|
||||||
AS_CASE("$VCS",
|
AS_CASE("$VCS",
|
||||||
['$(GIT)'|git], [VCSUP='$(VCS) pull $(GITPULLOPTIONS)'],
|
['$(GIT)'|git], [VCSUP='$(VCS) pull --rebase $(GITPULLOPTIONS)'],
|
||||||
[VCSUP='$(VCS)'])
|
[VCSUP='$(VCS)'])
|
||||||
sed -n \
|
sed -n \
|
||||||
-e '[/^@%:@define \(RUBY_RELEASE_[A-Z]*\) \([0-9][0-9]*\)/]{' \
|
-e '[/^@%:@define \(RUBY_RELEASE_[A-Z]*\) \([0-9][0-9]*\)/]{' \
|
||||||
|
@ -499,7 +499,7 @@ HAVE_GIT = no
|
|||||||
!if defined(VCS)
|
!if defined(VCS)
|
||||||
!else if exist($(srcdir)/.git)
|
!else if exist($(srcdir)/.git)
|
||||||
VCS = $(GIT)
|
VCS = $(GIT)
|
||||||
VCSUP = $(VCS) pull $(GITPULLOPTIONS)
|
VCSUP = $(VCS) pull --rebase $(GITPULLOPTIONS)
|
||||||
!else
|
!else
|
||||||
VCSUP = rem
|
VCSUP = rem
|
||||||
!endif
|
!endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user