Skip to content

Commit

Permalink
Merge pull request #14 from gmontamat/dev
Browse files Browse the repository at this point in the history
Bump release to 0.0.7 and dependencies
  • Loading branch information
gmontamat authored Jul 26, 2021
2 parents 2fa0358 + 534adc9 commit 7cf2349
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 15 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
name: Publish Python distributions 📦 to PyPI

on:
push:
branches:
- master
release:
types: [created]

jobs:
deploy:
Expand Down
19 changes: 17 additions & 2 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
- name: Install OS dependencies
run: |
sudo apt-get install -y rename
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
Expand All @@ -32,4 +35,16 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload --skip-existing --repository testpypi dist/*
build=0
version=$(ls dist/*tar.gz | grep -Po '\d.\d.\d')
export oldbuild=$version
check=$(twine upload --repository testpypi dist/* > /dev/null 2>&1)$? || true
while [[ "$check" == "1" ]]
do
build=$((build+1))
export newbuild=$version"-"$build
echo "Build number $newbuild"
rename 's/$ENV{oldbuild}/$ENV{newbuild}/g' dist/*
export oldbuild=$newbuild
check=$(twine upload --skip-existing --repository testpypi dist/* > /dev/null 2>&1)$? || true
done
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Accounts.

The latest API version supported by this package is
[v201809](https://ads-developers.googleblog.com/2018/09/announcing-v201809-of-adwords-api.html) with
[googleads 27.0.0](https://pypi.python.org/pypi/googleads). Older versions of the API are not supported, nor the newer
[googleads 28.0.0](https://pypi.python.org/pypi/googleads). Older versions of the API are not supported, nor the newer
[Google Ads API](https://developers.google.com/google-ads/api/docs/start).

## Quick Start
Expand Down
16 changes: 8 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ appdirs==1.4.4
attrs==21.2.0
cached-property==1.5.2
cachetools==4.2.2
certifi==2020.12.5
chardet==4.0.0
certifi==2021.5.30
charset-normalizer==2.0.3
defusedxml==0.7.1
google-auth==1.30.0
google-auth==1.33.1
google-auth-oauthlib==0.4.4
googleads==27.0.0
idna==2.10
googleads==28.0.0
idna==3.2
isodate==0.6.0
lxml==4.6.3
oauthlib==3.1.0
oauthlib==3.1.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pytz==2021.1
PyYAML==5.4.1
requests==2.25.1
requests==2.26.0
requests-file==1.5.1
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
rsa==4.7.2
six==1.16.0
urllib3==1.26.4
urllib3==1.26.6
xmltodict==0.12.0
zeep==4.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name='pyaw-reporting',
version='0.0.6',
version='0.0.7',
description='AdWords API Reporting in Python',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 7cf2349

Please sign in to comment.