From 58c4842d109d27d30a3acd6c93f3ff367ebff1b4 Mon Sep 17 00:00:00 2001 From: Felix Krull Date: Tue, 16 Oct 2018 19:27:04 +0200 Subject: [PATCH] Add libostree-sys publish step --- rust-bindings/rust/.gitlab-ci.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/rust-bindings/rust/.gitlab-ci.yml b/rust-bindings/rust/.gitlab-ci.yml index effe9785..dc752ee7 100644 --- a/rust-bindings/rust/.gitlab-ci.yml +++ b/rust-bindings/rust/.gitlab-ci.yml @@ -7,7 +7,7 @@ before_script: stages: - build -#- package +- publish libostree-sys: stage: build @@ -49,12 +49,20 @@ libostree_nightly: - cargo test --verbose --package libostree allow_failure: true -#libostree-sys_package: -# stage: package + +# publish +publish_libostree-sys: + stage: publish + before_script: + - cargo login $CRATES_IO_TOKEN + script: + - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml + when: manual + +#publish_libostree: +# stage: publish +# before_script: +# - cargo login $CRATES_IO_TOKEN # script: -# - cargo package --verbose --manifest-path libostree-sys/Cargo.toml -# -#libostree_package: -# stage: package -# script: -# - cargo package --verbose --manifest-path libostree/Cargo.toml +# - cargo publish --verbose --manifest-path libostree/Cargo.toml +# when: manual