Repos / pytaku / c4c21d5c70
commit c4c21d5c70595e67b5c4770d720a74f8d7ff6cf6
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sat Aug 8 22:24:04 2020 +0700

    jaysis

diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml
index 624448d..f76388d 100644
--- a/.builds/ubuntu.yml
+++ b/.builds/ubuntu.yml
@@ -42,13 +42,10 @@ 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 if:
-  # - current commit has an annotated tag: using git describe
-  # - currently in detached HEAD, not master: to rule out the sourcehut build
-  # that's triggered by the master branch push and not the `--tags` push.
+  # So here I manually check for it:
   - check-publish: |
       cd pytaku
-      git describe --exact-match HEAD && git rev-parse --abbrev-ref --symbolic-full-name HEAD | grep master || complete-build
+      git describe --exact-match HEAD || complete-build
 
   - publish: |
       cd pytaku
diff --git a/pyproject.toml b/pyproject.toml
index fc421da..17c5d63 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.2.9"
+version = "0.2.10"
 description = ""
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"