Skip to content

Commit 63c8287

Browse files
guolinkejameslamb
andauthored
v3.0.0rc1 (#3071)
* Update VERSION.txt * Update VERSION.txt * Update setup.py * Update VERSION.txt * Update setup.py * Update VERSION.txt * Update .appveyor.yml * Update DESCRIPTION * Apply suggestions from code review * Apply suggestions from code review * Update DESCRIPTION * Apply suggestions from code review * Create VERSION.txt * Apply suggestions from code review * Update .gitignore * Update recreate-configure.sh * Update test_r_package.sh * Update build-cran-package.sh * Delete VERSION.txt * Create VERSION.txt * Update main.yml * Update test_r_package_windows.ps1 * Update configure * Update test_r_package_windows.ps1 * Update test_r_package.sh * Delete VERSION.txt * Apply suggestions from code review * update configure.ac Co-authored-by: James Lamb <[email protected]>
1 parent 53c64ba commit 63c8287

File tree

10 files changed

+16
-21
lines changed

10 files changed

+16
-21
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 2.3.2.{build}
1+
version: 3.0.0rc1.{build}
22

33
image: Visual Studio 2015
44
platform: x64

.ci/test_r_package.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fi
125125

126126
cd ${BUILD_DIRECTORY}
127127

128-
PKG_TARBALL="lightgbm_${LGB_VER}.tar.gz"
128+
PKG_TARBALL="lightgbm_*.tar.gz"
129129
LOG_FILE_NAME="lightgbm.Rcheck/00check.log"
130130
if [[ $R_BUILD_TYPE == "cmake" ]]; then
131131
Rscript build_r.R --skip-install || exit -1
@@ -134,7 +134,6 @@ elif [[ $R_BUILD_TYPE == "cran" ]]; then
134134
# on Linux, we recreate configure in CI to test if
135135
# a change in a PR has changed configure.ac
136136
if [[ $OS_NAME == "linux" ]]; then
137-
cp VERSION.txt R-package/src/VERSION.txt
138137
cd ${BUILD_DIRECTORY}/R-package
139138
autoconf \
140139
--output configure \

.ci/test_r_package_windows.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ if (($env:COMPILER -eq "MINGW") -and ($env:R_BUILD_TYPE -eq "cmake")) {
8282
cd $env:BUILD_SOURCESDIRECTORY
8383
tzutil /s "GMT Standard Time"
8484
[Void][System.IO.Directory]::CreateDirectory($env:R_LIB_PATH)
85-
$env:LGB_VER = Get-Content -Path VERSION.txt -TotalCount 1
8685

8786
if ($env:R_BUILD_TYPE -eq "cmake") {
8887
if ($env:TOOLCHAIN -eq "MINGW") {
@@ -142,7 +141,7 @@ Write-Output "Building R package"
142141
# R CMD check is not used for MSVC builds
143142
if ($env:COMPILER -ne "MSVC") {
144143

145-
$PKG_FILE_NAME = "lightgbm_$env:LGB_VER.tar.gz"
144+
$PKG_FILE_NAME = "lightgbm_*.tar.gz"
146145
$LOG_FILE_NAME = "lightgbm.Rcheck/00check.log"
147146

148147
if ($env:R_BUILD_TYPE -eq "cmake") {

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ jobs:
137137
export CONDA_ENV="test-env"
138138
export CONDA="$HOME/miniconda"
139139
export PATH="$CONDA/bin:${HOME}/.local/bin:$PATH"
140-
export LGB_VER=$(head -n 1 VERSION.txt)
141140
export R_VERSION="${{ matrix.r_version }}"
142141
export R_BUILD_TYPE="${{ matrix.build_type }}"
143142
$GITHUB_WORKSPACE/.ci/setup.sh

R-package/DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: lightgbm
22
Type: Package
33
Title: Light Gradient Boosting Machine
4-
Version: 2.3.2
5-
Date: 2019-11-26
4+
Version: 3.0.0-1
5+
Date: 2020-08-06
66
Authors@R: c(
77
person("Guolin", "Ke", email = "[email protected]", role = c("aut", "cre")),
88
person("Damien", "Soukhavong", email = "[email protected]", role = c("ctb")),

R-package/configure

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for lightgbm 2.3.2.
3+
# Generated by GNU Autoconf 2.69 for lightgbm 3.0.0-1.
44
#
55
#
66
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@ MAKEFLAGS=
576576
# Identity of this package.
577577
PACKAGE_NAME='lightgbm'
578578
PACKAGE_TARNAME='lightgbm'
579-
PACKAGE_VERSION='2.3.2'
580-
PACKAGE_STRING='lightgbm 2.3.2'
579+
PACKAGE_VERSION='3.0.0-1'
580+
PACKAGE_STRING='lightgbm 3.0.0-1'
581581
PACKAGE_BUGREPORT=''
582582
PACKAGE_URL=''
583583

@@ -1182,7 +1182,7 @@ if test "$ac_init_help" = "long"; then
11821182
# Omit some internal or obsolete options to make the list less imposing.
11831183
# This message is too long to be a string in the A/UX 3.1 sh.
11841184
cat <<_ACEOF
1185-
\`configure' configures lightgbm 2.3.2 to adapt to many kinds of systems.
1185+
\`configure' configures lightgbm 3.0.0-1 to adapt to many kinds of systems.
11861186
11871187
Usage: $0 [OPTION]... [VAR=VALUE]...
11881188
@@ -1244,7 +1244,7 @@ fi
12441244

12451245
if test -n "$ac_init_help"; then
12461246
case $ac_init_help in
1247-
short | recursive ) echo "Configuration of lightgbm 2.3.2:";;
1247+
short | recursive ) echo "Configuration of lightgbm 3.0.0-1:";;
12481248
esac
12491249
cat <<\_ACEOF
12501250
@@ -1311,7 +1311,7 @@ fi
13111311
test -n "$ac_init_help" && exit $ac_status
13121312
if $ac_init_version; then
13131313
cat <<\_ACEOF
1314-
lightgbm configure 2.3.2
1314+
lightgbm configure 3.0.0-1
13151315
generated by GNU Autoconf 2.69
13161316
13171317
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1328,7 +1328,7 @@ cat >config.log <<_ACEOF
13281328
This file contains any messages produced by compilers while
13291329
running configure, to aid debugging if configure makes a mistake.
13301330
1331-
It was created by lightgbm $as_me 2.3.2, which was
1331+
It was created by lightgbm $as_me 3.0.0-1, which was
13321332
generated by GNU Autoconf 2.69. Invocation command line was
13331333
13341334
$ $0 $@
@@ -2377,7 +2377,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23772377
# report actual input values of CONFIG_FILES etc. instead of their
23782378
# values after options handling.
23792379
ac_log="
2380-
This file was extended by lightgbm $as_me 2.3.2, which was
2380+
This file was extended by lightgbm $as_me 3.0.0-1, which was
23812381
generated by GNU Autoconf 2.69. Invocation command line was
23822382
23832383
CONFIG_FILES = $CONFIG_FILES
@@ -2430,7 +2430,7 @@ _ACEOF
24302430
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24312431
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
24322432
ac_cs_version="\\
2433-
lightgbm config.status 2.3.2
2433+
lightgbm config.status 3.0.0-1
24342434
configured by $0, generated by GNU Autoconf 2.69,
24352435
with options \\"\$ac_cs_config\\"
24362436

R-package/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# * https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Configure-and-cleanup
55

66
AC_PREREQ(2.69)
7-
AC_INIT([lightgbm], [m4_esyscmd_s([cat src/VERSION.txt])], [], [lightgbm], [])
7+
AC_INIT([lightgbm], [3.0.0-1], [], [lightgbm], [])
88

99
###########################
1010
# find compiler and flags #

R-package/recreate-configure.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ apt-get install \
1212
-y \
1313
autoconf=${AUTOCONF_VERSION}
1414

15-
cp VERSION.txt R-package/src/
1615
cd R-package
1716
autoconf \
1817
--output configure \

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.2
1+
3.0.0rc1

build-cran-package.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ mkdir -p ${TEMP_R_DIR}
2121
cp -R R-package/* ${TEMP_R_DIR}
2222
cp -R include ${TEMP_R_DIR}/src/
2323
cp -R src/* ${TEMP_R_DIR}/src/
24-
cp VERSION.txt ${TEMP_R_DIR}/src/
2524

2625
cd ${TEMP_R_DIR}
2726

0 commit comments

Comments
 (0)