dr 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dr +3 -1
- data/lib/dr/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a853b8d13242f1b101720affa5ed4a47ca70ca83
|
4
|
+
data.tar.gz: a08d2d29dc77d00cc9e14fa260e5c62a160ce5ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c47cbc373eca126e7956b2b1b39d53434e3cca6cc2c8a5655ae66a844ebf1e6d14162a0e53452f8c754924c4f9c659f9bb0788103330147a412e6c7b58a467b1
|
7
|
+
data.tar.gz: a0ab608937f6065e8604b2296ad1b50ea2317e88c3c65e4ee915e5ed761b7eb67285f2fc50267fc25198a321a0b9974ac6794288758d8ee391035ed2b85848a8
|
data/bin/dr
CHANGED
@@ -330,12 +330,14 @@ class RepoCLI < ExtendedThor
|
|
330
330
|
end
|
331
331
|
|
332
332
|
desc "release", "Push all the packages from testing to release"
|
333
|
+
method_option :force, :aliases => "-f", :type => :boolean,
|
334
|
+
:desc => "Force-push all released packages"
|
333
335
|
def release
|
334
336
|
repo = get_repo_handle
|
335
337
|
|
336
338
|
log :info, "Releasing all packages from testing"
|
337
339
|
repo.list_packages.each do |pkg|
|
338
|
-
repo.push pkg.name, nil, "stable"
|
340
|
+
repo.push pkg.name, nil, "stable", (options["force"] == true)
|
339
341
|
end
|
340
342
|
end
|
341
343
|
|
data/lib/dr/version.rb
CHANGED