Skip to content

Commit 7e540f5

Browse files
committed
copied python_publish.yml from R2022a_00 to R2021b_00; changed version to 9.11.14
1 parent 7d35f6f commit 7e540f5

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.github/workflows/python-publish.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ permissions:
99

1010
jobs:
1111
deploy:
12-
1312
runs-on: ubuntu-latest
1413

1514
steps:
@@ -26,9 +25,17 @@ jobs:
2625
- name: Build package
2726
run: python setup.py sdist
2827

29-
- name: Publish package
28+
- name: Publish package to TestPyPI since the "prerelease" checkbox is checked
29+
if: "github.event.release.prerelease"
3030
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3131
with:
3232
user: __token__
3333
password: ${{ secrets.MATLABENGINE_TEST_PYPI_TOKEN }}
3434
repository_url: https://test.pypi.org/legacy/
35+
36+
- name: Publish package to PyPI since the "prerelease" checkbox is unchecked
37+
if: "!github.event.release.prerelease"
38+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
39+
with:
40+
user: __token__
41+
password: ${{ secrets.MATLABENGINE_PYPI_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA
2121
MATLAB Engine API for Python can be installed directly from the Python Package Index.
2222
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
2323
```bash
24-
$ python -m pip install matlabengine==9.11.13
24+
$ python -m pip install matlabengine==9.11.14
2525
```
2626

2727

@@ -46,7 +46,7 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:matlabroot/bin/glnxa64
4646
MATLAB Engine API for Python can be installed directly from the Python Package Index.
4747
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
4848
```bash
49-
$ python -m pip install matlabengine==9.11.13
49+
$ python -m pip install matlabengine==9.11.14
5050
```
5151

5252
### macOS
@@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:matlabroot/bin/maci64
7070
MATLAB Engine API for Python can be installed directly from the Python Package Index.
7171
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
7272
```bash
73-
$ python -m pip install matlabengine==9.11.13
73+
$ python -m pip install matlabengine==9.11.14
7474
```
7575

7676
---

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class _MatlabFinder(build_py):
2424
MATLAB_REL = 'R2021b'
2525

2626
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
27-
MATLAB_VER = '9.11.13'
27+
MATLAB_VER = '9.11.14'
2828

2929
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
3030
SUPPORTED_PYTHON_VERSIONS = set(['3.7', '3.8', '3.9'])
@@ -299,7 +299,7 @@ def run(self):
299299
setup(
300300
name="matlabengine",
301301
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
302-
version="9.11.13",
302+
version="9.11.14",
303303
description='A module to call MATLAB from Python',
304304
author='MathWorks',
305305
license="MathWorks XSLA License",

0 commit comments

Comments
 (0)