Browse Source

chore: fix Makefile and __version__.py

tags/v0.10.0
Jérôme Deuchnord 3 years ago
parent
commit
877ce24622
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      Makefile
  2. +2
    -2
      _kosmorro/__version__.py

+ 3
- 3
Makefile View File

@@ -34,8 +34,8 @@ release: env
@echo -e "\e[1mCreating release with version number \e[36m$$RELEASE_NUMBER\e[0m" @echo -e "\e[1mCreating release with version number \e[36m$$RELEASE_NUMBER\e[0m"
@echo @echo


sed "s/^VERSION =.*/VERSION = '$$RELEASE_NUMBER'/g" _kosmorro/version.py > version.py
mv version.py _kosmorro/version.py
sed "s/^__version__ =.*/__version__ = '$$RELEASE_NUMBER'/g" _kosmorro/__version__.py > version.py
mv version.py _kosmorro/__version__.py


pipenv run python setup.py extract_messages --output-file=_kosmorro/locales/messages.pot > /dev/null pipenv run python setup.py extract_messages --output-file=_kosmorro/locales/messages.pot > /dev/null


@@ -49,7 +49,7 @@ release: env
@echo -e "Please review the changes, then invoke \e[33mmake finish-release\e[39m." @echo -e "Please review the changes, then invoke \e[33mmake finish-release\e[39m."


finish-release: env finish-release: env
git add CHANGELOG.md _kosmorro/version.py _kosmorro/locales/messages.pot
git add CHANGELOG.md _kosmorro/__version__.py _kosmorro/locales/messages.pot
git commit -m "build: bump version $$RELEASE_NUMBER" git commit -m "build: bump version $$RELEASE_NUMBER"
git tag "v$$RELEASE_NUMBER" git tag "v$$RELEASE_NUMBER"
git checkout features git checkout features


+ 2
- 2
_kosmorro/__version__.py View File

@@ -16,9 +16,9 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.


__title__ = "kosmorrolib"
__title__ = "kosmorro"
__description__ = "A program that computes your ephemerides" __description__ = "A program that computes your ephemerides"
__url__ = "http://kosmorro.space"
__url__ = "https://kosmorro.space"
__version__ = "0.9.0" __version__ = "0.9.0"
__author__ = "Jérôme Deuchnord" __author__ = "Jérôme Deuchnord"
__author_email__ = "jerome@deuchnord.fr" __author_email__ = "jerome@deuchnord.fr"


Loading…
Cancel
Save