Skip to content

Commit

Permalink
release: 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Nov 18, 2024
1 parent 99223c5 commit e69aebb
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 22 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ jobs:
- name: Test with unittest
run: python -m unittest

deploy:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'
permissions:
id-token: write
steps:
- uses: actions/checkout@v3

- name: Install poetry
run: pipx install poetry

- name: Build Packages
run: poetry build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
deploy:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'created'
permissions:
id-token: write
steps:
- uses: actions/checkout@v3

- name: Install poetry
run: pipx install poetry

- name: Build Packages
run: poetry build

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Change Log

This document records all notable changes to `stellar-model <https://github.com/StellarCN/stellar-model/>`_.

0.6.0
----------------------------
* feat: add support for Horizon v22.0.0. (`#63 <https://github.com/StellarCN/stellar-model/pull/63/>`_)

0.5.4
----------------------------
* feat: add support for Horizon v2.27.0. (`#59 <https://github.com/StellarCN/stellar-model/pull/59/>`_)
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ stellar-model
:alt: PyPI
:target: https://pypi.python.org/pypi/stellar-model

.. image:: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue?style=flat
.. image:: https://img.shields.io/badge/python-3.8+-blue?style=flat
:alt: Python - Version
:target: https://pypi.python.org/pypi/stellar-model

Expand All @@ -29,7 +29,7 @@ Please check the list `here <https://github.com/StellarCN/stellar-model/issues/2

.. code-block:: text
pip install stellar-model==0.5.4
pip install stellar-model==0.6.0
Example
=======
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stellar-model"
version = "0.5.4"
version = "0.6.0"
description = "Parse the raw Stellar data into Python models."
authors = ["overcat <4catcode@gmail.com>"]
readme = "README.rst"
Expand Down
2 changes: 1 addition & 1 deletion stellar_model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.5.4"
__version__ = "0.6.0"
__url__ = "https://github.com/StellarCN/stellar-model"
__issues__ = f"{__url__}/issues"

Expand Down
2 changes: 1 addition & 1 deletion stellar_model/model/horizon/claimable_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ class ClaimableBalance(BaseModel):
links: Links = Field(alias="_links")


ClaimPredicate.update_forward_refs()
ClaimPredicate.model_rebuild()

0 comments on commit e69aebb

Please sign in to comment.