raykit 0.0.453 → 0.0.455
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/git/directory.rb +4 -4
- data/lib/raykit/tasks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5c1cc8079ffa9facb659f73eba03eaf545e4acb09d81c0c7fd7d85238dfbe13
|
4
|
+
data.tar.gz: d64dadbded92355cd19abe9e482e692bb977b97fe240b0e8d05914ed66e6c1ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f749b0dbfdc245e7f28424c96c01d875231405e912393eb8eed615c3cf61d8e9c63167cdbdfa967c7361acfc5fd6c1d44a996a5483dbf4c7521a1a08859d25cc
|
7
|
+
data.tar.gz: ae50927177026a2555fc7d030d3f3457b4d3f202c9196a247db33e25ea2f5de92b647747fb54a260911d33f01e3db27cab3a5f20c98f7236382a40a02c4f2b20
|
data/lib/raykit/git/directory.rb
CHANGED
@@ -170,14 +170,14 @@ module Raykit
|
|
170
170
|
end
|
171
171
|
|
172
172
|
def tag_version(version)
|
173
|
-
if has_tag "v#{
|
174
|
-
puts " git tag v#{
|
173
|
+
if has_tag "v#{version}"
|
174
|
+
puts " git tag v#{version} already exists"
|
175
175
|
else
|
176
176
|
if outstanding_commit?
|
177
177
|
raise "outstanding commit, will not tag"
|
178
178
|
else
|
179
|
-
puts " git tag v#{
|
180
|
-
run("git tag -a v#{
|
179
|
+
puts " git tag v#{version} does not exist"
|
180
|
+
run("git tag -a v#{version} -m\"version #{version}\"")
|
181
181
|
end
|
182
182
|
end
|
183
183
|
end
|
data/lib/raykit/tasks.rb
CHANGED
@@ -61,7 +61,7 @@ task :tag do
|
|
61
61
|
puts " read only state, skipping tag operation"
|
62
62
|
else
|
63
63
|
if (PROJECT.version != PROJECT.latest_tag)
|
64
|
-
|
64
|
+
try "git tag -a #{PROJECT.version} -m\"version #{PROJECT.version}\""
|
65
65
|
try "git push --tags"
|
66
66
|
else
|
67
67
|
puts " tag #{PROJECT.latest_tag} already exists."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.455
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|