From 02453943ad36829072f339cf9b3695491c8e1f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 9 Jan 2022 15:53:50 +0100 Subject: [PATCH 1/3] fix(Breaking change): restore `kosmorrolib.__version__` module --- kosmorrolib/__version__.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 kosmorrolib/__version__.py diff --git a/kosmorrolib/__version__.py b/kosmorrolib/__version__.py new file mode 100644 index 0000000..55c8107 --- /dev/null +++ b/kosmorrolib/__version__.py @@ -0,0 +1,26 @@ +#!/usr/bin/env python3 + +# Kosmorrolib - The Library To Compute Your Ephemerides +# Copyright (C) 2021 Jérôme Deuchnord +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +__title__ = "kosmorrolib" +__description__ = "A library to compute your ephemerides" +__url__ = "http://kosmorro.space/lib" +__version__ = "1.0.3" +__author__ = "Jérôme Deuchnord" +__author_email__ = "jerome@deuchnord.fr" +__license__ = "AGPL-v3" +__copyright__ = "2021 - Jérôme Deuchnord" From 75f5a87bf6a4fd910654b05acf439a657ae28939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 9 Jan 2022 15:59:10 +0100 Subject: [PATCH 2/3] build: send to PyPI only on release publication --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc1f76a..1eb075a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,9 @@ -name: Release Application +name: Release library on: - - release + release: + types: [published] + jobs: pipy: From c9fc7d602a8fe1597cb100c5d6ffeb9c23d3c95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 9 Jan 2022 16:04:31 +0100 Subject: [PATCH 3/3] build: bump v1.0.4 --- CHANGELOG.md | 9 +++++++++ kosmorrolib/__version__.py | 2 +- pyproject.toml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9fdabb..d4abdd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [Version 1.0.4](https://github.com/Kosmorro/lib/compare/v1.0.3...v1.0.4) (2022-01-09) + + +### Bug Fixes + +* **Breaking change:** restore `kosmorrolib.__version__` module ([0245394](https://github.com/Kosmorro/lib/commit/02453943ad36829072f339cf9b3695491c8e1f04)) + + + # [Version 1.0.3](https://github.com/Kosmorro/lib/compare/v1.0.2...v1.0.3) (2022-01-09) diff --git a/kosmorrolib/__version__.py b/kosmorrolib/__version__.py index 55c8107..c32ff66 100644 --- a/kosmorrolib/__version__.py +++ b/kosmorrolib/__version__.py @@ -19,7 +19,7 @@ __title__ = "kosmorrolib" __description__ = "A library to compute your ephemerides" __url__ = "http://kosmorro.space/lib" -__version__ = "1.0.3" +__version__ = "1.0.4" __author__ = "Jérôme Deuchnord" __author_email__ = "jerome@deuchnord.fr" __license__ = "AGPL-v3" diff --git a/pyproject.toml b/pyproject.toml index 355b0cf..d0c2104 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kosmorrolib" -version = "1.0.3" +version = "1.0.4" authors = ["Jérôme Deuchnord "] homepage = "https://kosmorro.space/lib" repository = "https://github.com/Kosmorro/lib"