Skip to content

Commit

Permalink
Merge pull request #19 from k0nserv/master
Browse files Browse the repository at this point in the history
Support Drone 0.5
  • Loading branch information
athieriot authored Nov 16, 2017
2 parents cbba316 + b2f00da commit 640f626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
const Drone = require('drone-node');
const plugin = new Drone.Plugin();

const ArtifactoryAPI = require('artifactory-api');
const pomParser = require("pom-parser");
const glob = require("glob");
Expand Down Expand Up @@ -134,6 +131,9 @@ if(require.main === module) {

// Drone is 0.4
} else {
const Drone = require('drone-node');
const plugin = new Drone.Plugin();

plugin.parse()
.then(check_params)
.then(do_upload)
Expand Down

0 comments on commit 640f626

Please sign in to comment.