gct 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa8c2d1eee0e3de12793d740b4b85285d7ef4aa94748b6c8f8dad352a17b2d06
4
- data.tar.gz: e0f6650f0f55f6e065b625f692f6409df5ed1d7fdd65f9fa056b36f191bbf344
3
+ metadata.gz: 49d023707cc751bfa181d6d9d8cd1d4b9f11bfae9fdf097973ebe9c5d3b3f067
4
+ data.tar.gz: e1c26e29bcd95c1c6d6e903477b3bacf0c25af3fe8fd783665d8fa8f90d720c4
5
5
  SHA512:
6
- metadata.gz: 82c58652b0e9ac64ebd3872637827a80e15dcc7b037d746e896dc6b955e3b3e26521c2035aaf0b6ea9f5bbc61fe242221ad637f3bb55961965f4a0a6b6de1b8c
7
- data.tar.gz: d90e059df0b133c6e42a6db11b8a960b9241b8821700ce1b69a331edad10b4bffbb898eadd15851163b8ad1b706e1f2112a442992f7ef0491a3b1b83ec20fd56
6
+ metadata.gz: e384f9650e17242e54ac542fbc567a873d5bcd8d0a128961c948acd562a8c3bc6b4ac5568b65738bef6ec2172274c76c1a8256f568171b565396840fd6e1715b
7
+ data.tar.gz: 9c4651b176232bd7e57e4a33bd08f6dc3dbbf09fbfb99263b067e13136017dee7b87be14c827396550cf6fe10cba59e0946e1510eb4f5f2baff62fb440421fc0
@@ -51,12 +51,6 @@ module Gct
51
51
  end
52
52
 
53
53
  def skip_tag_method
54
- if !@update_ci
55
- isEmptyMR = mr_to_master
56
- if !isEmptyMR
57
- accept_merge_request
58
- end
59
-
60
54
  isEmptyMR = mr_to_master
61
55
  if !isEmptyMR
62
56
  accept_merge_request
@@ -119,6 +113,7 @@ module Gct
119
113
  create_file('.gitlab-ci.yml', ci_content, 'init ci')
120
114
  mr_to_master_if_need
121
115
  end
116
+
122
117
  end
123
118
 
124
119
  def mr_to_master_if_need
@@ -2,5 +2,5 @@ module Gct
2
2
  # freeze 冻结对象,将对象变成一个常量
3
3
  # unless 右边的代码块成立,才会运行左边的代码块
4
4
  # defined? 是用来判断本地变量是否存在,也可用来判断是否存在方法
5
- VERSION = "0.5.0".freeze unless defined? Gct::VERSION
5
+ VERSION = "0.5.1".freeze unless defined? Gct::VERSION
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jieming