Skip to content

Commit

Permalink
Drone: Do full branch clone and get tags for correct version hashes (#…
Browse files Browse the repository at this point in the history
…6836)

Although #591 attempted to make version hashes be preceded with tag names on our branch builds, it would fail again silently at 50 commits because we were not cloning the full branch. Drone's new plugin will do a single branch clone by default meaning that depth is no longer necessary.
  • Loading branch information
kolaente authored and zeripath committed May 2, 2019
1 parent 26c7c97 commit a27d5d2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ workspace:
base: /go
path: src/code.gitea.io/gitea

clone:
git:
image: plugins/git:next
depth: 50
tags: true

pipeline:
fetch-tags:
image: docker:git
commands:
- git fetch --tags --force

download_translations:
image: jonasfranz/crowdin
pull: true
Expand Down

0 comments on commit a27d5d2

Please sign in to comment.