Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
Release v1.0.0b1
Browse files Browse the repository at this point in the history
  • Loading branch information
gdubicki committed Aug 31, 2021
1 parent f10384f commit dd5d4f3
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Publish 🐍 to PyPI

on:
push:
tags:
- 'v*'

jobs:
build-n-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Build
run: |
pip install wheel
python setup.py build sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}
- name: Create release in GitHub
id: create_release
uses: actions/create-release@v1
env:
# This token is provided by Actions, you do not need to create your own token
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: true
prerelease: true
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Changelog

### 1.0.0 beta 1

* Drop Python 2 support (**breaking change**) [PR #26](https://github.com/egnyte/python-egnyte/pull/26)
* Revamped `egnyte.resources.Search` to use v2 API. [PR #23](https://github.com/egnyte/python-egnyte/pull/23)
* HTTP requests will be retried thrice on connection and timeout errors before giving up. [PR #22](https://github.com/egnyte/python-egnyte/pull/22)
* Get files versions information. [PR #11](https://github.com/egnyte/python-egnyte/pull/11)
* Fixed `get_permissions` from querying for users if groups is set. Now queries for groups if group is set. [PR #10](https://github.com/egnyte/python-egnyte/pull/10)
* Fixed `egnyte.base.get_access_token`. [PR #20](https://github.com/egnyte/python-egnyte/pull/20)

Thanks to [@jgvilly](https://github.com/jgvilly), [@vijayendra](https://github.com/vijayendra) and [@raees-khan](https://github.com/raees-khan) for their contributions!

### < 1.0.0

Please see the descriptions in [Github Releases's](https://github.com/egnyte/python-egnyte/releases).
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2014 Egnyte, Inc.
Copyright (c) 2014-2021 Egnyte, Inc.

MIT License

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

args = dict(
name='egnyte',
version='0.5.3',
version='1.0.0b1',
author='Egnyte',
author_email='[email protected]',
license='MIT',
Expand All @@ -23,6 +23,7 @@
"requests>=2.13.0,<3",
],
platforms=["Any"],
python_requires='>=3.6, <3.10',
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Expand Down

0 comments on commit dd5d4f3

Please sign in to comment.