Skip to content

Commit

Permalink
Merge pull request openwallet-foundation#2471 from dbluhm/fix/version…
Browse files Browse the repository at this point in the history
…-read-from-pyproject

fix: version should be set by pyproject.toml
  • Loading branch information
dbluhm authored Sep 7, 2023
2 parents 85d68b1 + 992c0a9 commit 56cd983
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Once you have the list of PRs:
errors should be fixed in the code.

5. Update the version number listed in
[aries_cloudagent/version.py](aries_cloudagent/version.py) and, prefixed with
[pyproject.toml](pyproject.toml) and, prefixed with
a "v" in [open-api/openapi.json](open-api/openapi.json) and
[open-api/swagger.json](open-api/swagger.json) (e.g. "0.7.2" in the
version.py file and "v0.7.2" in the openapi.json file). The incremented
Expand All @@ -126,7 +126,7 @@ Once you have the list of PRs:

9. Immediately after it is merged, create a new GitHub tag representing the
version. The tag name and title of the release should be the same as the
version in [aries_cloudagent/version.py](aries_cloudagent/version.py). Use
version in [pyproject.toml](pyproject.toml). Use
the "Generate Release Notes" capability to get a sequential listing of the
PRs in the release, to complement the manually curated Changelog. Verify on
PyPi that the version is published.
Expand Down
4 changes: 3 additions & 1 deletion aries_cloudagent/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"""Library version information."""

__version__ = "0.10.1"
from importlib import metadata

__version__ = metadata.version("aries-cloudagent")
RECORD_TYPE_ACAPY_VERSION = "acapy_version"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "aries_cloudagent"
version = "0.10.0-rc0"
description = ""
version = "0.10.1"
description = "Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments. "
authors = ["Hyperledger Aries <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
Expand Down

0 comments on commit 56cd983

Please sign in to comment.