Skip to content

Commit a4d95b6

Browse files
committed
Merge branch 'release-0.3.1' into dev
2 parents 60c2a74 + ea91eda commit a4d95b6

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,32 @@ jobs:
7878
TOXENV: ${{ matrix.toxenv }}
7979
run: |
8080
tox
81+
82+
cd:
83+
needs: ci
84+
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master')
85+
runs-on: ubuntu-latest
86+
steps:
87+
- uses: actions/checkout@v2
88+
- name: Set up Python 3.9
89+
uses: actions/setup-python@v2
90+
with:
91+
python-version: 3.9
92+
- name: Build a package for release
93+
run: |
94+
python -m pip install build --user
95+
python -m build --sdist --wheel --outdir dist/ .
96+
- name: Publish to TestPyPI
97+
uses: pypa/[email protected]
98+
if: github.ref == 'refs/heads/master'
99+
with:
100+
user: __token__
101+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
102+
repository_url: https://test.pypi.org/legacy/
103+
- name: Publish to PyPI
104+
if: startsWith(github.ref, 'refs/tags')
105+
uses: pypa/[email protected]
106+
with:
107+
user: __token__
108+
password: ${{ secrets.PYPI_API_TOKEN }}
109+

msal_extensions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""Provides auxiliary functionality to the `msal` package."""
2-
__version__ = "0.3.0"
2+
__version__ = "0.3.1"
33

44
import sys
55

0 commit comments

Comments
 (0)