Repos / pytaku / 62048cf4aa
commit 62048cf4aa879428693a48622eaf3e06a30806db
Author: Bùi Thành Nhân <hi@imnhan.com>
Date: Sun Aug 9 00:08:24 2020 +0700
0.2.12, first tag to be deployed properly from ci
diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml
index bc4db4a..ffe00d3 100644
--- a/.builds/ubuntu.yml
+++ b/.builds/ubuntu.yml
@@ -43,22 +43,22 @@ tasks:
# Builds.sr.ht doesn't support tag or even branch detection yet:
# > https://todo.sr.ht/~sircmpwn/builds.sr.ht/170
# So here I manually check for it:
- #- check-publish: |
- #cd pytaku
- #git describe --exact-match HEAD || complete-build
+ - check-publish: |
+ cd pytaku
+ git describe --exact-match HEAD || complete-build
- publish: |
cd pytaku
poetry publish
- deploy-dev: |
- # I'm not installing pytaku from pypi here because it may
- # take a loooong time for the new version to appear.
cd pytaku
echo "dev.pytaku.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAQ1jWerB3GUGRhaZZzgpRyCSwo7PRi1cPbokaAwwsAKts1dkXSdCtR9xoTXKdvhASX5xafdzHZqbyFzpc0RleM=" >> ~/.ssh/known_hosts
# Clean up old stuff just in case
ssh -i ~/.ssh/2d6e3246-5adc-41c2-bebe-01dacda9d0c8 pytaku@dev.pytaku.com 'rm -f /home/pytaku/pytaku*.whl'
- # Copy wheel & systemd service files over
+ # Copy wheel & systemd service files over.
+ # I'm not installing pytaku from pypi here because it may
+ # take a loooong time for the new version to appear.
scp -i ~/.ssh/2d6e3246-5adc-41c2-bebe-01dacda9d0c8 dist/pytaku*.whl pytaku@dev.pytaku.com:/home/pytaku/
scp -i ~/.ssh/2d6e3246-5adc-41c2-bebe-01dacda9d0c8 contrib/systemd/*.service pytaku@dev.pytaku.com:/home/pytaku/.config/systemd/user/
# Install & restart serivces
diff --git a/pyproject.toml b/pyproject.toml
index 03f6414..68b798e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pytaku"
-version = "0.2.11"
+version = "0.2.12"
description = ""
authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
license = "AGPL-3.0-only"