Repos / pytaku / d0b15c4bb8
commit d0b15c4bb8b8570a5ae0ad0ee2301392ded71e57
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Sun Sep 13 20:49:55 2020 +0700

    build js _before_ python package

diff --git a/.builds/ubuntu.yml b/.builds/ubuntu.yml
index 5949d7c..e920897 100644
--- a/.builds/ubuntu.yml
+++ b/.builds/ubuntu.yml
@@ -51,13 +51,13 @@ tasks:
 
   - build: |
       cd pytaku
-      source ~/venv/bin/activate
-      poetry build
       npm install -g --prefix ~/.node_modules esbuild
       ~/.node_modules/bin/esbuild \
         src/pytaku/js-src/main.js \
         --bundle --sourcemap --minify \
         --outfile=src/pytaku/static/js/main.min.js
+      source ~/venv/bin/activate
+      poetry build
 
   # Builds.sr.ht doesn't support tag or even branch detection yet:
   # > https://todo.sr.ht/~sircmpwn/builds.sr.ht/170
diff --git a/pyproject.toml b/pyproject.toml
index b9f3a5e..be89ed1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.3.20"
+version = "0.3.21"
 description = "Self-hostable web-based manga reader"
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"