Skip to content

Commit

Permalink
Release v2.3.0 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
movermeyer committed Dec 21, 2022
1 parent 53855ae commit eeea0e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Verify that the `release_version` is larger/newer than the existing release in PyPI
run: |
python -c 'import sys; from packaging import version; code = 0 if version.parse("${{ env.ciso8601_version }}") < version.parse("${{ env.release_version }}") else 1; sys.exit(code)'
python -c 'import sys; from packaging import version; code = 0 if version.parse("${{ env.pypi_version }}") < version.parse("${{ env.release_version }}") else 1; sys.exit(code)'
- name: Verify that the `release_version` is present in the CHANGELOG
# TODO: Use something like `changelog-cli` to extract the correct version number
Expand All @@ -71,7 +71,7 @@ jobs:
echo -e "release_version=${{ env.release_version }}\nrelease_tag=${{ env.release_tag }}" > release_values.txt
- name: Share normalized release values
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: release_values
path: release_values.txt
Expand All @@ -93,7 +93,7 @@ jobs:
CIBW_SKIP: "pp*-macosx* *-win32 *-manylinux_i686"
CIBW_ARCHS_MACOS: x86_64 arm64 universal2

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl

Expand All @@ -112,7 +112,7 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: dist/*.tar.gz

Expand Down Expand Up @@ -163,4 +163,4 @@ jobs:
# runs-on: ubuntu-latest
# steps: # TODO
# - run: |
# echo "We're doing a release!? ${{ github.event }}"
# echo "We're doing a release!? ${{ github.event }}"
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- [Unreleased](#unreleased)
- [2.x.x](#2xx)
- [Version 2.3.0](#version-230)
- [Version 2.2.0](#version-220)
- [Version 2.1.3](#version-213)
- [Version 2.1.2](#version-212)
Expand All @@ -20,6 +21,13 @@

# Unreleased

*

# 2.x.x

## Version 2.3.0

* Added Python 3.11 support
* Fix the build for PyPy2 ([#116](https://github.com/closeio/ciso8601/pull/116))
* Added missing `fromutc` implementation for `FixedOffset` (#113). Thanks @davidkraljic
* Removed improper ability to call `FixedOffset`'s `dst`, `tzname` and `utcoffset` without arguments
Expand All @@ -28,8 +36,6 @@
* Added support for ISO week dates, ([#139](https://github.com/closeio/ciso8601/pull/139))
* Added support for ordinal dates, ([#140](https://github.com/closeio/ciso8601/pull/140))

# 2.x.x

## Version 2.2.0

* Added Python 3.9 support
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
os.environ["_CL_"] = ""
os.environ["_CL_"] += " /WX"

VERSION = "2.2.0"
VERSION = "2.3.0"
CISO8601_CACHING_ENABLED = int(os.environ.get('CISO8601_CACHING_ENABLED', '1') == '1')

setup(
Expand Down

0 comments on commit eeea0e4

Please sign in to comment.