aboutsummaryrefslogtreecommitdiff
path: root/immutables
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2020-04-22 18:11:47 -0700
committerElvis Pranskevichus <elvis@magic.io>2020-04-22 18:51:13 -0700
commit85af8df6b15dd57d391880fe76f8a5324385cd13 (patch)
tree14d010e45c5f527dc61b153beee930f95ec8a792 /immutables
parent60252260070137dd75f09d99a50c5dc624dea439 (diff)
downloadimmutables-85af8df6b15dd57d391880fe76f8a5324385cd13.tar.gz
immutables-85af8df6b15dd57d391880fe76f8a5324385cd13.zip
Add Github release workflowv0.12
Diffstat (limited to 'immutables')
-rw-r--r--immutables/__init__.py4
-rw-r--r--immutables/_version.py13
2 files changed, 16 insertions, 1 deletions
diff --git a/immutables/__init__.py b/immutables/__init__.py
index 655d318..eaf0230 100644
--- a/immutables/__init__.py
+++ b/immutables/__init__.py
@@ -1,3 +1,5 @@
+# flake8: noqa
+
try:
from ._map import Map
except ImportError:
@@ -6,6 +8,6 @@ else:
import collections.abc as _abc
_abc.Mapping.register(Map)
+from ._version import __version__
__all__ = 'Map',
-__version__ = '0.12'
diff --git a/immutables/_version.py b/immutables/_version.py
new file mode 100644
index 0000000..2296fca
--- /dev/null
+++ b/immutables/_version.py
@@ -0,0 +1,13 @@
+# This file MUST NOT contain anything but the __version__ assignment.
+#
+# When making a release, change the value of __version__
+# to an appropriate value, and open a pull request against
+# the correct branch (master if making a new feature release).
+# The commit message MUST contain a properly formatted release
+# log, and the commit must be signed.
+#
+# The release automation will: build and test the packages for the
+# supported platforms, publish the packages on PyPI, merge the PR
+# to the target branch, create a Git tag pointing to the commit.
+
+__version__ = '0.12'