From b560adb623db67a3a395515d3c60853b37e7a9b0 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 20 Dec 2023 12:11:39 +0100 Subject: [PATCH] use cargo install --- .woodpecker.yml | 8 ++------ crates/utils/translations | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7915eaf31..e1b4a550d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -109,14 +109,10 @@ steps: # using https://github.com/pksunkara/cargo-workspaces publish_to_crates_io: - # necessary for libssl1.1 requirement of cargo-workspaces binary - image: debian:bullseye-slim + image: *rust_image commands: - # reuse binstall from machete step - - ./cargo-binstall -y cargo-workspaces - - apt update - - apt install --no-install-recommends --no-install-suggests --yes cargo git - 'echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"' + - cargo install cargo-workspaces - cp -r migrations crates/db_schema/ - cargo login "$CARGO_API_TOKEN" - cargo workspaces publish --from-git --allow-dirty --no-verify --allow-branch "${CI_COMMIT_TAG}" --yes custom "${CI_COMMIT_TAG}" diff --git a/crates/utils/translations b/crates/utils/translations index 9474a7c0f..15815aea7 160000 --- a/crates/utils/translations +++ b/crates/utils/translations @@ -1 +1 @@ -Subproject commit 9474a7c0fbc968b8da29251bf5183b7de383cebf +Subproject commit 15815aea74fe97360afc03496b3ad62588649af0