File tree Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Expand file tree Collapse file tree 3 files changed +33
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Semantic Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ release :
10+ name : Release
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+ with :
16+ fetch-depth : 0
17+
18+ - name : Python Semantic Release
19+ uses : relekang/python-semantic-release@master
20+ with :
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
22+ pypi_token : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 1414
1515import setuptools
1616
17+ __version__ = "1.0.0"
1718setuptools .setup (
1819 name = 'megalist_dataflow' ,
19- version = '0.1' ,
20- author = 'Alvaro Stivi ' ,
21- author_email = 'astivi@google .com' ,
22- url = 'https://cse.googlesource. com/solutions/megalist ' ,
20+ version = __version__ ,
21+ author = 'DP6 fork from Google/megalista ' ,
22+ author_email = 'koopas@dp6 .com.br ' ,
23+ url = 'https://github. com/DP6/marketing-data-sync ' ,
2324 install_requires = ['googleads==24.1.0' , 'google-api-python-client==1.10.0' ,
2425 'google-cloud-core==1.3.0' , 'google-cloud-bigquery==1.26.0' ,
2526 'google-cloud-datastore==1.13.1' , 'aiohttp==3.6.2' ],
Original file line number Diff line number Diff line change 1+ [tool .semantic_release ]
2+ upload_to_pypi = false
3+ version_variable = [
4+ ' megalist_dataflow/setup.py:__version__'
5+ ]
6+
You can’t perform that action at this time.
0 commit comments