Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Dec 14, 2020
1 parent e68b852 commit 3741b4c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ def binaryReleases(ctx):

return pipelines

def binary(ctx, name):
def binaryRelease(ctx, name):
# uploads binary to https://download.owncloud.com/ocis/ocis/testing/
target = '/ocis/%s/testing' % (ctx.repo.name.replace("ocis-", ""))
if ctx.build.event == "tag":
Expand All @@ -929,19 +929,6 @@ def binary(ctx, name):
'target': target,
}


=======
strip_prefix = 'ocis/dist/release/'
target = '/ocis/%s/%s' % (ctx.repo.name.replace("ocis-", ""), ctx.build.ref.replace("refs/tags/v", ""))
else:
strip_prefix = 'dist/release/'
target = '/ocis/%s/testing' % (ctx.repo.name.replace("ocis-", ""))
<<<<<<< HEAD

>>>>>>> 2bbb5e06 (deduplicate in binary release)
=======

>>>>>>> c72fd376 (generalize things)
return {
'kind': 'pipeline',
'type': 'docker',
Expand Down

0 comments on commit 3741b4c

Please sign in to comment.