From 47bdb1631be202a79308b8bb445b5cb128dd4111 Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Sat, 22 Oct 2022 16:03:27 +0100 Subject: [PATCH 1/2] test env stuff --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index b776aef..0e5afe4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,12 @@ steps: - poetry run pytest - name: publish - when: - branch: - - master - event: - exclude: - - pull_request + # when: + # branch: + # - master + # event: + # exclude: + # - pull_request image: python:3.7 environment: GITEA_PACKAGE_REPO: @@ -28,7 +28,7 @@ steps: commands: - pip install poetry twine - poetry build - - echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = ${GITEA_PACKAGE_REPO}\nusername = ${GITEA_OWNER}\npassword = ${GITEA_TOKEN}" > ~/.pypirc + - echo "[distutils]\nindex-servers = gitea\n\n[gitea]\nrepository = $${GITEA_PACKAGE_REPO}\nusername = $${GITEA_OWNER}\npassword = $${GITEA_TOKEN}" > ~/.pypirc - twine upload -r gitea ./dist/*.whl From 55265d86a1a630b42aafaf7897ca07d0fb90f7bb Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Sun, 30 Oct 2022 15:58:07 +0000 Subject: [PATCH 2/2] bump version number for next release --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 18d727f..9b59ba5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pymicrocosm" -version = "0.2.0" +version = "0.3.0" description = "A tiny python-based micropub endpoint that supports a Gitea + drone static website" authors = ["James Ravenscroft "] license = "AGPL-3.0"