forked from mirrors/relay
Remove cargo publish for now
This commit is contained in:
parent
dd92650cff
commit
c432508e65
1 changed files with 38 additions and 38 deletions
76
.drone.yml
76
.drone.yml
|
@ -367,41 +367,41 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
---
|
# ---
|
||||||
|
#
|
||||||
kind: pipeline
|
# kind: pipeline
|
||||||
type: docker
|
# type: docker
|
||||||
name: publish-crate
|
# name: publish-crate
|
||||||
|
#
|
||||||
platform:
|
# platform:
|
||||||
arch: amd64
|
# arch: amd64
|
||||||
|
#
|
||||||
clone:
|
# clone:
|
||||||
disable: true
|
# disable: true
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: clone
|
# - name: clone
|
||||||
image: alpine/git:latest
|
# image: alpine/git:latest
|
||||||
user: root
|
# user: root
|
||||||
commands:
|
# commands:
|
||||||
- git clone $DRONE_GIT_HTTP_URL .
|
# - git clone $DRONE_GIT_HTTP_URL .
|
||||||
- git checkout $DRONE_COMMIT
|
# - git checkout $DRONE_COMMIT
|
||||||
- chown -R 991:991 .
|
# - chown -R 991:991 .
|
||||||
|
#
|
||||||
- name: publish
|
# - name: publish
|
||||||
image: asonix/rust-builder:amd64-latest
|
# image: asonix/rust-builder:amd64-latest
|
||||||
pull: always
|
# pull: always
|
||||||
environment:
|
# environment:
|
||||||
CRATES_IO_TOKEN:
|
# CRATES_IO_TOKEN:
|
||||||
from_secret: crates_io_token
|
# from_secret: crates_io_token
|
||||||
commands:
|
# commands:
|
||||||
- cargo publish --token $CRATES_IO_TOKEN
|
# - cargo publish --token $CRATES_IO_TOKEN
|
||||||
|
#
|
||||||
depends_on:
|
# depends_on:
|
||||||
- build-amd64
|
# - build-amd64
|
||||||
- build-arm64v8
|
# - build-arm64v8
|
||||||
- build-arm32v7
|
# - build-arm32v7
|
||||||
|
#
|
||||||
trigger:
|
# trigger:
|
||||||
event:
|
# event:
|
||||||
- tag
|
# - tag
|
||||||
|
|
Loading…
Reference in a new issue