Skip to content

Commit db357bc

Browse files
authored
releasing 2.1.1 (linkedin#63)
* releasing 2.1.1 * update sed command for releasing
1 parent 233aa16 commit db357bc

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.0.9
2+
current_version = 2.1.1
33
commit = True
44
tag = True
55

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Releasing a new version for adding new features and bug fixes. Minor updates to
1414
### Step 1: increment the version and publish to PyPi
1515
Releasing the package involves:
1616
* Incrementing the version of DeText
17-
* Publishing to pypi: Note that this prepares and uploads two packages (`detext` and `li_detext`) with the same version. `detext` is the oss package for public use. `li_detext` is for LI internal use only.
17+
* Publishing to pypi: Note that this prepares and uploads two packages (`detext` and `detext-nodep`) with the same version. `detext` is the oss package for public use. `detext-nodep` is for LI internal use only, without any dependencies such as `tensorflow` pulled in.
1818

1919
Please ensure all changes are merged before releasing. Use the following command to release a new package:
2020
```shell script

pypi_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ cp setup.py setup.py.tmp
4747
# Rename the pypi package name
4848
sed -i "" "s/name='detext'/name='detext-nodep'/" setup.py
4949
# Remove install_requires entries
50-
sed -i "" "s/install_requires=\[.*\]/install_requires=[]/g" setup.py
50+
sed -i "" "s/install_requires=.*/install_requires=[],/g" setup.py
5151
python setup.py sdist
5252
# Recover original setup.py
5353
rm setup.py

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"License :: OSI Approved"],
2222
license='BSD-2-CLAUSE',
2323
# DO NOT CHANGE: version should be incremented by bump2version when releasing. See pypi_release.sh
24-
version='2.0.9',
24+
version='2.1.1',
2525
package_dir={'': 'src'},
2626
packages=setuptools.find_packages('src'),
2727
include_package_data=True,

0 commit comments

Comments
 (0)