easyci 0.8.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33f28c73417854e597872c7460407bc159ede880ca65593129208f59c8a17b72
4
- data.tar.gz: eaf0ecb1aab6c32129d0e8222dfc59267518a3898a5dcbb876b65397a741e166
3
+ metadata.gz: d8e89dcb3f96a53e3a5fb571a268713ff29ea0b56d02d06d2693ba20143d62df
4
+ data.tar.gz: 17892fa3ce5c06613f39148ccc7757efff4756b6f1a5914960a94395b9b52756
5
5
  SHA512:
6
- metadata.gz: 56e02eb839ff2f311c0c030f5abe9f3aafa16d95da9c2647d5f8f00fb31ca00554872a01a8a0dcc181b2eb15dba20f7800727f62d62b66448daa6662124bb9de
7
- data.tar.gz: a247fe019ca1323347117be704f4c4052eea5276b4c75af60d9f7170c2a551d9ad586ecad208aeeef0ac16253be158930a600f35e0110c784300e55d48b98dcc
6
+ metadata.gz: 8961ec3bbc05aea9ec30b9018789049fe579ab32209244f8d6a0acc53cd58ead49936a183adc2e68efc16b495c41a2a21f899d37d68ed4ade8f3b9c188fe9d0d
7
+ data.tar.gz: 9fb54a4858a391693f276074ffb207bf3e5ccdc19bd2717fbf665cdd29e27c7afffdab222e14ea14c2cea202a23d3b5878357efbc082a34b30659021e4b8fe42
@@ -66,6 +66,7 @@ module EasyCI
66
66
  if File.exist?(resources_dir)
67
67
  FileUtils.rm_rf(resources_dir)
68
68
  end
69
+ FileUtils.mkdir_p(File.join(runner_dir, 'Assets'))
69
70
  puts "下载截图仓库..."
70
71
  git_url = @use_https ? "https://gitee.com/#{gitee_repo}.git" : "git@gitee.com:#{gitee_repo}.git"
71
72
  puts "git_url: #{git_url}"
@@ -77,12 +78,13 @@ module EasyCI
77
78
  puts "克隆Assets仓库失败,请检查网络和权限设置"
78
79
  exit 1
79
80
  end
80
-
81
+
81
82
  if !File.exist?(File.join(gitee_repo_local_path, 'Resources'))
82
- FileUtils.cp_r(File.join(gitee_repo_local_path, '2D'), resources_dir)
83
- FileUtils.cp_r(File.join(gitee_repo_local_path, 'Common/Font'), resources_dir)
83
+ FileUtils.mkdir_p(resources_dir)
84
+ FileUtils.mv(File.join(gitee_repo_local_path, '2D'), File.join(resources_dir, '2D'))
85
+ FileUtils.mv(File.join(gitee_repo_local_path, 'Common/Font'), File.join(resources_dir, 'Fonts'))
84
86
  else
85
- FileUtils.cp_r(File.join(gitee_repo_local_path, 'Resources'), resources_dir)
87
+ FileUtils.mv(File.join(gitee_repo_local_path, 'Resources'), resources_dir)
86
88
  end
87
89
 
88
90
  # 运行Unity截图任务
@@ -1,3 +1,3 @@
1
1
  module EasyCI
2
- VERSION = '0.8.0'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easyci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wade