Commit 5aad64e Ken Payne
committed
1 parent 3e8a337 commit 5aad64e Copy full SHA for 5aad64e
File tree 2 files changed +57
-7
lines changed
2 files changed +57
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Python Package
2
+
3
+ on :
4
+ release :
5
+ types : [created]
6
+
7
+ jobs :
8
+ build_deploy :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ with :
15
+ fetch-depth : 0
16
+ - name : Set up Python
17
+ uses : actions/setup-python@v3
18
+ with :
19
+ python-version : ' 3.10'
20
+ - name : Install dependencies
21
+ run : |
22
+ python -m pip install --upgrade pip
23
+ pip install poetry
24
+ - name : Build package
25
+ run : |
26
+ poetry self add "poetry-dynamic-versioning[plugin]"
27
+ poetry config repositories.testpypi https://test.pypi.org/legacy/
28
+ poetry dynamic-versioning --no-cache
29
+ poetry build
30
+ - name : Upload wheel to release
31
+ uses : svenstaro/upload-release-action@v2
32
+ with :
33
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
34
+ file : dist/*.whl
35
+ tag : ${{ github.ref }}
36
+ overwrite : true
37
+ file_glob : true
38
+ - name : Deploy to PyPI
39
+ run : |
40
+ poetry publish -r testpypi -u "__token__" -p "${{ secrets.TEST_PYPI_TOKEN }}"
41
+ poetry publish -u "__token__" -p "${{ secrets.PYPI_TOKEN }}"
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " tap-singer-jsonl"
3
- version = " 0.1 .0"
4
- description = " "
3
+ version = " 0.0 .0"
4
+ description = " A Singer.io tap fro reading raw singer-formatted JSONL files from local and remote sources (e.g. s3). "
5
5
authors = [" Ken Payne <ken@meltano.com>" ]
6
6
license = " MIT"
7
7
readme = " README.md"
8
8
packages = [{include = " tap_singer_jsonl" }]
9
+ keywords = [
10
+ " ELT" ,
11
+ " Singer.io" ,
12
+ ]
9
13
10
14
[tool .poetry .dependencies ]
11
15
python = " >=3.10,<3.12"
12
16
singer-sdk = " ^0.16.0"
13
17
smart-open = {extras = [" s3" ], version = " ^6.3.0" }
14
18
15
19
16
- [build-system ]
17
- requires = [" poetry-core" ]
18
- build-backend = " poetry.core.masonry.api"
19
-
20
20
[tool .poetry .scripts ]
21
21
# CLI declaration
22
- tap-singer-jsonl = ' tap_singer_jsonl:main'
22
+ tap-singer-jsonl = ' tap_singer_jsonl:main'
23
+
24
+ [build-system ]
25
+ requires = [" poetry-core>=1.0.8" , " poetry-dynamic-versioning" ]
26
+ build-backend = " poetry_dynamic_versioning.backend"
27
+
28
+ [tool .poetry-dynamic-versioning ]
29
+ enable = true
30
+ vcs = " git"
31
+ style = " semver"
You can’t perform that action at this time.
0 commit comments