Skip to content

Commit

Permalink
fix release condition
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Aug 23, 2019
1 parent 3b8f0c8 commit 2994320
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.starlark
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ def pipeline_build_reva():
'files': [base_dir + '/release/*'],
'title': "${DRONE_TAG}",
},
'when': {
'ref': [ 'refs/tags/**' ],
},
}

return {
Expand All @@ -75,9 +78,6 @@ def pipeline_build_reva():
step_publish_release,
# step_publish_daily,
],
'when': {
'ref': [ 'refs/tags/**' ],
},
}


Expand Down
3 changes: 3 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ steps:
- "./build/reva/release/*"
overwrite: true
title: "${DRONE_TAG}"
when:
ref:
- "refs/tags/**"

...

0 comments on commit 2994320

Please sign in to comment.