File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ permissions:
1818
1919jobs :
2020 deploy :
21- if : " success() && startsWith(github.ref, 'refs/tags/')"
2221 runs-on : ubuntu-latest
2322
2423 steps :
@@ -31,13 +30,14 @@ jobs:
3130 run : |
3231 python -m pip install --upgrade pip
3332 pip install build
33+ - name : Build package
34+ run : python -m build
3435 - name : check tag
3536 id : check-tag
3637 run : python check_tag.py
37- - name : Build package
38- run : python -m build
3938 - name : Publish package
4039 uses : pypa/gh-action-pypi-publish@v1.8.3
4140 with :
4241 user : __token__
43- password : ${{ secrets.PYPI_API_TOKEN }}
42+ password : ${{ secrets.TEST_PYPI_TOKEN }}
43+ repository-url : https://test.pypi.org/legacy/
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def read(file_name):
3434def main (env_var = "GITHUB_REF" ) -> int :
3535 git_ref = os .getenv (env_var , "none" )
3636 tag = re .sub ("^refs/tags/v*" , "" , git_ref .lower ())
37- version = read ("version.txt" ).strip ()
37+ version = read ("pyatlan/ version.txt" ).strip ()
3838 if tag == version :
3939 return 0
4040 else :
File renamed without changes.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def read(file_name):
4141
4242setup (
4343 name = "pyatlan" ,
44- version = read ("version.txt" ),
44+ version = read ("pyatlan/ version.txt" ),
4545 author = "Atlan Technologies Pvt Ltd" ,
4646 author_email = "engineering@atlan.com" ,
4747 description = "Atlan Python Client" ,
You canβt perform that action at this time.
0 commit comments