Update version-check paths (#10118)

Teleport source code is not checked out in /drone/src, it is checked out
in /go/src/github.com/gravitational/teleport by an earlier step. As
such, we need to use that as our base.
This commit is contained in:
Walt
2022-02-03 21:12:54 +00:00
committed by GitHub
parent 26860e5e01
commit 2cf15cee0f
+3 -3
View File
@@ -4998,7 +4998,7 @@ steps:
- name: Check if tag is prerelease
image: golang:1.17-alpine
commands:
- cd build.assets/version-check
- cd /go/src/github.com/gravitational/teleport/build.assets/version-check
- go run . -tag ${DRONE_TAG} -check prerelease || (echo '---> Not publishing ${DRONE_REPO} packages to RPM and DEB repos' && exit 78)
- name: Download RPM repo contents
@@ -5079,7 +5079,7 @@ steps:
- name: Check if tag is latest
image: golang:1.17-alpine
commands:
- cd build.assets/version-check
- cd /go/src/github.com/gravitational/teleport/build.assets/version-check
- go run . -tag ${DRONE_TAG} -check latest || (echo '---> Not publishing ${DRONE_REPO} packages to DEB repo' && exit 78)
- name: Download DEB repo contents
@@ -5192,6 +5192,6 @@ volumes:
name: drone-s3-debrepo-pvc
---
kind: signature
hmac: 99a2fb84d52277bf71a7c325b55b3a7ff9e61a820a11603a7a741ba83b100e98
hmac: 545ff7529ef63acaf7e2fb71b14a1bf577931fc06c247c5485b52ea16f3c18c8
...