diff options
author | kolaente <konrad@kola-entertainments.de> | 2019-05-03 00:41:54 +0200 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-05-02 23:41:54 +0100 |
commit | a27d5d2b230e7b63a4b1959991d8b638527f48c6 (patch) | |
tree | b5a9b560ecae9f92ab4f216f7e25466eac6daac6 /.drone.yml | |
parent | 26c7c97447a2b9815ac9a7814bfa0ffa645cd442 (diff) | |
download | gitea-a27d5d2b230e7b63a4b1959991d8b638527f48c6.tar.gz gitea-a27d5d2b230e7b63a4b1959991d8b638527f48c6.zip |
Drone: Do full branch clone and get tags for correct version hashes (#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.
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml index b46033e49c..4a88427eee 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 |