Skip to content

Commit

Permalink
Merge pull request #2839 from owncloud/bugfix/build-release-on-tag
Browse files Browse the repository at this point in the history
Build release on push event - otherwise it cannot be uploaded
  • Loading branch information
DeepDiver1975 committed Jan 10, 2020
2 parents 1abb34b + 4b99f3b commit 936857c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ def build(ctx):
'trigger': {
'ref': [
'refs/merge-requests/**',
'refs/heads/master'
'refs/heads/master',
'refs/tags/**',
]
}
}
Expand Down Expand Up @@ -661,11 +662,6 @@ def buildRelease(ctx):
'cd /var/www/owncloud/phoenix',
'make -f Makefile.release dist'
],
'when': {
'event': [
'push'
]
},
},{
'name': 'release-to-github',
'image': 'plugins/github-release:1',
Expand Down

0 comments on commit 936857c

Please sign in to comment.