simple-httpd 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/scripts/release.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce94e11efef98e3e29ead50e0259c53897af676dc24a647412470c0081eca2a8
|
4
|
+
data.tar.gz: 4a855b09b2d93cfd20a3e3034d45a997008faade88a9fd479443a1e2fbb420aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46a3f829100f9bcc91e2101271dfc12e187d331c9c5b65a8993609b7bb7025f76605354880b4a0a998190573552b5f1a209bb148c648dd1375028fd60f19201c
|
7
|
+
data.tar.gz: 810c4561326ff0ab3a2cf45ab64fd5e2c6a106dcfc81a5012b14a2d305f6ce0253c4aa5e4e070f178fb29a3ac88d1c1c0b7821f6d7ab38dda095e5079721c969
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/scripts/release.rb
CHANGED
@@ -57,6 +57,10 @@ end
|
|
57
57
|
# -- check, bump, release a new gem version -----------------------------------
|
58
58
|
|
59
59
|
Dir.chdir ROOT
|
60
|
+
|
61
|
+
gem_files = Dir.glob('*.gem')
|
62
|
+
raise "Found one or more *.gem files: #{gem_files}" unless gem_files.empty?
|
63
|
+
|
60
64
|
$BASE_BRANCH = ENV['BRANCH'] || 'master'
|
61
65
|
|
62
66
|
# ENV["BUNDLE_GEMFILE"] = "#{Dir.getwd}/Gemfile"
|
@@ -76,10 +80,12 @@ sys! "git commit -m \"bump gem to v#{version}\""
|
|
76
80
|
sys! "git tag -a v#{version} -m \"Tag #{version}\""
|
77
81
|
|
78
82
|
sys! "gem build #{GEMSPEC}"
|
83
|
+
gem_file = Dir.glob('*.gem').first
|
84
|
+
sys! "gem install #{gem_file}"
|
79
85
|
|
80
86
|
sys! "git push origin #{$BASE_BRANCH}"
|
81
87
|
sys! 'git push --tags --force'
|
82
|
-
sys! "gem push #{
|
88
|
+
sys! "gem push #{gem_file}"
|
83
89
|
|
84
90
|
sys! "mkdir -p pkg"
|
85
91
|
sys! "mv *.gem pkg"
|