Skip to content

Commit

Permalink
Merge pull request #201 from eclecticiq/prepare-0.2.1
Browse files Browse the repository at this point in the history
Prepare 0.2.1
  • Loading branch information
erwin-eiq authored Nov 4, 2021
2 parents 594b59b + 7edaca6 commit 71a5319
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
40 changes: 40 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Publish to PyPI/github

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: Create github release
uses: ncipollo/release-action@v1
with:
artifacts: "dist/opentaxii*.whl,dist/opentaxii*.tar.gz"
bodyFile: "CHANGES.rst"
token: ${{ secrets.GITHUB_TOKEN }}
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Changelog
=========

0.2.1 (2021-11-03)
------------------
* Add tests for python 3.6, 3.7, 3.8, 3.9, pypy
* Add tests for sqlite, mysql, mariadb, postgresql
* Fix bug that broke ``delete_content_blocks`` when using mysql on sqlalchemy 1.3
* Docs: Add db schema diagram
* Docs: Clarify how to get default data in a default (development) docker instance
* Fix implicit routing in TAXII 1.1 Inboxes
* Update jwt usage to pyjwt >= 2.0 (thanks `@SanyaKapoor <https://github.com/SanyaKapoor>`_)

0.2.0 (2020-06-30)
------------------
* Enforce UTC usage in datetime fields in SQL DB Persistence API.
Expand Down
2 changes: 1 addition & 1 deletion opentaxii/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
This module defines the package version for use in __init__.py and setup.py.
"""

__version__ = '0.2.1alpha'
__version__ = '0.2.1'
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def get_file_contents(filename):
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet',
'Topic :: Security',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
Expand Down

0 comments on commit 71a5319

Please sign in to comment.