From 56b0aa3ebb440f0c91191fef6e84ae813597f58b Mon Sep 17 00:00:00 2001 From: rf_tar_railt <3165388245@qq.com> Date: Fri, 1 Mar 2024 17:02:50 +0800 Subject: [PATCH] chore(eliz): bump version --- .github/workflows/publish-console.yml | 5 ++++- .github/workflows/publish-core.yml | 5 ++++- .github/workflows/publish-elizabeth.yml | 5 ++++- .github/workflows/publish-onebot-v11.yml | 5 ++++- .github/workflows/publish-qqapi.yml | 5 ++++- .github/workflows/publish-red.yml | 5 ++++- .github/workflows/publish-satori.yml | 5 ++++- .github/workflows/publish-standard-qq.yml | 5 ++++- .github/workflows/publish-twilight.yml | 5 ++++- .mina/elizabeth.toml | 2 +- pyproject.toml | 4 ++-- 11 files changed, 39 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-console.yml b/.github/workflows/publish-console.yml index 9666a099..b92651e7 100644 --- a/.github/workflows/publish-console.yml +++ b/.github/workflows/publish-console.yml @@ -16,7 +16,10 @@ jobs: architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=console - name: Build Package run: | pdm mina build console diff --git a/.github/workflows/publish-core.yml b/.github/workflows/publish-core.yml index a217b502..152c2a6c 100644 --- a/.github/workflows/publish-core.yml +++ b/.github/workflows/publish-core.yml @@ -16,7 +16,10 @@ jobs: architecture: 'x64' - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=core - name: Build Package run: | pdm mina build core diff --git a/.github/workflows/publish-elizabeth.yml b/.github/workflows/publish-elizabeth.yml index 7d9bbdbf..ffcaa922 100644 --- a/.github/workflows/publish-elizabeth.yml +++ b/.github/workflows/publish-elizabeth.yml @@ -16,7 +16,10 @@ jobs: architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=elizabeth - name: Build Package run: | pdm mina build elizabeth diff --git a/.github/workflows/publish-onebot-v11.yml b/.github/workflows/publish-onebot-v11.yml index 9360922f..f23f62ae 100644 --- a/.github/workflows/publish-onebot-v11.yml +++ b/.github/workflows/publish-onebot-v11.yml @@ -16,7 +16,10 @@ jobs: architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=onebot-v11 - name: Build Package run: | pdm mina build onebot-v11 diff --git a/.github/workflows/publish-qqapi.yml b/.github/workflows/publish-qqapi.yml index 8551b3da..7ed1ec8a 100644 --- a/.github/workflows/publish-qqapi.yml +++ b/.github/workflows/publish-qqapi.yml @@ -16,7 +16,10 @@ jobs: architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=qqapi - name: Build Package run: | pdm mina build qqapi diff --git a/.github/workflows/publish-red.yml b/.github/workflows/publish-red.yml index a7f36ffc..4bc54026 100644 --- a/.github/workflows/publish-red.yml +++ b/.github/workflows/publish-red.yml @@ -16,7 +16,10 @@ jobs: architecture: 'x64' - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=red - name: Build Package run: | pdm mina build red diff --git a/.github/workflows/publish-satori.yml b/.github/workflows/publish-satori.yml index ee0e3f70..b18bf247 100644 --- a/.github/workflows/publish-satori.yml +++ b/.github/workflows/publish-satori.yml @@ -16,7 +16,10 @@ jobs: architecture: 'x64' - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=satori - name: Build Package run: | pdm mina build satori diff --git a/.github/workflows/publish-standard-qq.yml b/.github/workflows/publish-standard-qq.yml index 3088f4f5..01437434 100644 --- a/.github/workflows/publish-standard-qq.yml +++ b/.github/workflows/publish-standard-qq.yml @@ -16,7 +16,10 @@ jobs: architecture: 'x64' - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET="standard-qq" - name: Build Package run: | pdm mina build standard-qq diff --git a/.github/workflows/publish-twilight.yml b/.github/workflows/publish-twilight.yml index 5564ab8d..7e2f1904 100644 --- a/.github/workflows/publish-twilight.yml +++ b/.github/workflows/publish-twilight.yml @@ -16,7 +16,10 @@ jobs: architecture: "x64" - name: Ensure PDM & twine run: | - python3 -m pip install pdm twine pdm-mina mina-build + python3 -m pip install pdm twine pdm-mina "mina-build<0.6" + - name: Set Target + run: | + export MINA_BUILD_TARGET=twilight - name: Build Package run: | pdm mina build twilight diff --git a/.mina/elizabeth.toml b/.mina/elizabeth.toml index 9f498698..17553c83 100644 --- a/.mina/elizabeth.toml +++ b/.mina/elizabeth.toml @@ -6,7 +6,7 @@ raw-dependencies = [ [project] name = "avilla-elizabeth" -version = "1.0.0a26" # WIP for release. +version = "1.0.0a27" # WIP for release. authors = [ {name = "GreyElaina", email = "GreyElaina@outlook.com"}, {name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com"} diff --git a/pyproject.toml b/pyproject.toml index f7ea4299..4e82ad2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,8 @@ version = "0" requires-python = ">=3.9" [build-system] -requires = ["mina-build>=0.6.0"] -build-backend = "pdm.backend" +requires = ["mina-build<0.6.0"] +build-backend = "mina.backend" [tool.pdm.build] includes = ["avilla/"]