Add libostree-sys publish step

This commit is contained in:
Felix Krull 2018-10-16 19:27:04 +02:00 committed by Colin Walters
parent 4c6d1dce4d
commit 58c4842d10
1 changed files with 17 additions and 9 deletions

View File

@ -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