In some case,promote operation not work
drone build promote <repo> <number> <environment>
for example,if the
<number> is based on tag event will not work,but work fine based on a push/pull_request event.
assume below push piplines generate build number
kind: pipeline type: docker name: Push steps: - name: install image: node:12-alpine commands: - echo push event trigger: event: - push
and below tag piplines generate build number
kind: pipeline type: docker name: Tag steps: - name: install image: node:12-alpine commands: - echo tag event trigger: event: - tag
drone build promote repo/test 34 production works fine,
drone build promote repo/test 35 production not work.