File tree Expand file tree Collapse file tree 5 files changed +82
-2
lines changed
elasticsearch/stac_fastapi/elasticsearch Expand file tree Collapse file tree 5 files changed +82
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish Python distributions to PyPI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ build-n-publish :
10
+ name : Build and publish Python distributions to PyPI and TestPyPI
11
+ runs-on : ubuntu-18.04
12
+
13
+ steps :
14
+ - uses : actions/checkout@master
15
+ - name : Set up Python 3.8
16
+ uses : actions/setup-python@v1
17
+ with :
18
+ python-version : 3.8
19
+
20
+ - name : Install pypa/build
21
+ run : >-
22
+ python -m
23
+ pip install
24
+ build
25
+ --user
26
+ - name : Build a binary wheel and a source tarball
27
+ run : >-
28
+ python -m
29
+ build
30
+ --sdist
31
+ --wheel
32
+ --outdir dist/
33
+ - name : Publish distribution to PyPI
34
+ # if: startsWith(github.ref, 'refs/tags')
35
+ uses : pypa/gh-action-pypi-publish@v1.4.2
36
+ with :
37
+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Publish Python distributions to PyPI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - dev
7
+
8
+ jobs :
9
+ build-n-publish :
10
+ name : Build and publish Python distributions to PyPI and TestPyPI
11
+ runs-on : ubuntu-18.04
12
+
13
+ steps :
14
+ - uses : actions/checkout@master
15
+ - name : Set up Python 3.8
16
+ uses : actions/setup-python@v1
17
+ with :
18
+ python-version : 3.8
19
+
20
+ - name : Go in mongo folder
21
+ run : >-
22
+ cd stac_fastapi/mongo
23
+
24
+ - name : Install pypa/build
25
+ run : >-
26
+ python -m
27
+ pip install
28
+ build
29
+ --user
30
+ - name : Build a binary wheel and a source tarball
31
+ run : >-
32
+ python -m
33
+ build
34
+ --sdist
35
+ --wheel
36
+ --outdir dist/
37
+ - name : Publish distribution to Test PyPI
38
+ # if: startsWith(github.ref, 'refs/tags')
39
+ uses : pypa/gh-action-pypi-publish@v1.4.2
40
+ with :
41
+ password : ${{ secrets.TEST_PYPI_API_TOKEN }}
42
+ repository_url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change
1
+ 2.3.0
Original file line number Diff line number Diff line change 1
1
"""library version."""
2
- __version__ = "2.1.1 "
2
+ __version__ = "2.3.0 "
Original file line number Diff line number Diff line change 1
1
"""library version."""
2
- __version__ = "2.1.1 "
2
+ __version__ = "2.3.0 "
You can’t perform that action at this time.
0 commit comments