Skip to content

Commit c7a3c8c

Browse files
committed
Fix multiple if statements
1 parent e57283b commit c7a3c8c

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
name: Production deploy
1+
name: Publish release
22
on:
33
workflow_run:
44
workflows: ["Python Tests"]
55
types:
66
- completed
77
jobs:
88
pypi-publish:
9-
if: |
10-
github.repository_owner == 'oauthlib' &&
11-
${{ github.event.workflow_run.conclusion == 'success' }} &&
12-
${{ github.ref_type == 'tag' }}
9+
if: ${{ github.repository_owner == 'oauthlib' &&
10+
github.event.workflow_run.conclusion == 'success' &&
11+
github.ref_type == 'tag' }}
1312
name: Upload release to PyPI
1413
runs-on: ubuntu-latest
1514
environment:

Makefile

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# Please specify your library as well as primary contacts.
1212
# Since these contacts will be addressed with Github mentions they
13-
# need to be Github users (for now)(sorry Bitbucket).
13+
# need to be Github users.
1414
#
1515
clean: clean-eggs clean-build
1616
@find . -iname '*.pyc' -delete
@@ -45,25 +45,18 @@ test:
4545

4646
bottle:
4747
#---------------------------
48-
# Library thomsonreuters/bottle-oauthlib
48+
# Library refinitiv/bottle-oauthlib
4949
# Contacts: Jonathan.Huot
50-
cd bottle-oauthlib 2>/dev/null || git clone https://github.com/thomsonreuters/bottle-oauthlib.git
50+
cd bottle-oauthlib 2>/dev/null || git clone https://github.com/refinitiv/bottle-oauthlib.git
5151
cd bottle-oauthlib && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && sed -i.old '/oauthlib/d' requirements.txt && tox
5252

53-
flask:
54-
#---------------------------
55-
# Library: lepture/flask-oauthLib
56-
# Contacts: lepture,widnyana
57-
cd flask-oauthlib 2>/dev/null || git clone https://github.com/lepture/flask-oauthlib.git
58-
cd flask-oauthlib && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && sed -i.old '/oauthlib/d' requirements.txt && tox
59-
6053
django:
6154
#---------------------------
6255
# Library: evonove/django-oauth-toolkit
6356
# Contacts: evonove,masci
6457
# (note: has tox.ini already)
6558
cd django-oauth-toolkit 2>/dev/null || git clone https://github.com/evonove/django-oauth-toolkit.git
66-
cd django-oauth-toolkit && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && tox -e py27,py35,py36
59+
cd django-oauth-toolkit && sed -i.old 's,deps =,deps= --editable=file://{toxinidir}/../,' tox.ini && tox
6760

6861
requests:
6962
#---------------------------

0 commit comments

Comments
 (0)