From 5d87f61d3315725746847652129a6d779849114c Mon Sep 17 00:00:00 2001 From: projectmoon Date: Fri, 22 Mar 2024 17:10:54 +0100 Subject: [PATCH] Bump version for CI fixes (hopefully) --- .cargo/static-build.toml | 3 +++ .drone.yml | 8 +++----- Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .cargo/static-build.toml diff --git a/.cargo/static-build.toml b/.cargo/static-build.toml new file mode 100644 index 0000000..46c34b6 --- /dev/null +++ b/.cargo/static-build.toml @@ -0,0 +1,3 @@ +[build] +rustflags = ["-C", "target-feature=+crt-static"] +target = "x86_64-unknown-linux-gnu" diff --git a/.drone.yml b/.drone.yml index 6d57531..9f9381f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,17 +15,15 @@ steps: ref: - refs/tags/v* commands: - - RUSTFLAGS="-C target-feature=+crt-static" cargo build --target x86_64-unknown-linux-gnu --release + - cargo build --config .cargo/static-build.toml --release - name: push-release image: plugins/gitea-release - environment: - RELEASE_PUSH_KEY: - from_secret: release_push_key when: ref: - refs/tags/v* settings: - api_key: ${RELEASE_PUSH_KEY} + api_key: + from_secret: release_push_key base_url: https://git.agnos.is/ files: target/x86_64-unknown-linux-gnu/release/gemfreely diff --git a/Cargo.toml b/Cargo.toml index 7e4b487..c9c0d15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gemfreely" -version = "0.1.4" +version = "0.1.5" edition = "2021" license = "AGPL-3.0-or-later" description = "Synchronize Gemini protocol blogs to the Fediverse"