lib/opskeleton/deploy.rb in opskeleton-0.8.3 vs lib/opskeleton/deploy.rb in opskeleton-0.8.4
- old
+ new
@@ -5,9 +5,14 @@
argument :repo, :type => :string, :desc => 'bintray repo'
desc 'Deploy sandbox into bintray.com'
+ def validate
+ check_root
+ end
+
+
def upload
require 'bintray_deploy'
pkg = Opsk::Package.new
tar = "#{pkg.artifact_path}.tar.gz"
base = File.basename(tar)