rubysketch-solitaire 0.9.0 → 1.0.0.1
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 +4 -4
- data/.github/workflows/release-ios.yml +46 -0
- data/ChangeLog.md +12 -0
- data/Rakefile +20 -1
- data/VERSION +1 -1
- data/fastlane/Fastfile +30 -20
- data/fastlane/metadata/en-US/release_notes.txt +1 -1
- data/fastlane/metadata/ja/release_notes.txt +1 -1
- data/project.yml +5 -5
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f7be17a8117a63e1a3e18cebb62f775b751a6043302029e196385f67c7affe4
|
4
|
+
data.tar.gz: 11cf320dc36304fe7422f15486830d7bc3d6263970aea73ce707a5382d62dddd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e606bcce6e8a67cb3272d947c398df6f16719c96a793bb0dc4796b0ff8d274dd2dae67406d597b68466e756b30feaa58ebb3fe28a8dfb225a8b27c99f655dfd3
|
7
|
+
data.tar.gz: 575f5b1dbe31c2d7bce29b9bbaff6faef1179c4573db3da91bcac0d714352f10c070dfebb30c2980afe2432d0b8fb666e5dba4006b670a878274d52f44c3c9b1
|
@@ -0,0 +1,46 @@
|
|
1
|
+
name: Release iOS
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags: ['v[0-9]*']
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
push-to-cd:
|
9
|
+
if: github.repository == 'xord/solitaire'
|
10
|
+
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- name: checkout
|
15
|
+
uses: actions/checkout@v2
|
16
|
+
with:
|
17
|
+
fetch-depth: 0
|
18
|
+
token: ${{ secrets.PAT }}
|
19
|
+
|
20
|
+
- name: push to repository for continuous delivery
|
21
|
+
run: |
|
22
|
+
git remote add cd https://github.com/xord/solitaire_cd
|
23
|
+
git push cd master --tags
|
24
|
+
|
25
|
+
testflight:
|
26
|
+
if: github.repository == 'xord/solitaire_cd'
|
27
|
+
|
28
|
+
runs-on: macos-latest
|
29
|
+
|
30
|
+
steps:
|
31
|
+
- name: ruby 3.2
|
32
|
+
uses: ruby/setup-ruby@v1
|
33
|
+
with:
|
34
|
+
ruby-version: 3.2
|
35
|
+
|
36
|
+
- name: checkout
|
37
|
+
uses: actions/checkout@v2
|
38
|
+
|
39
|
+
- name: setup dependencies
|
40
|
+
run: "ruby -I.github/workflows -rutils -e 'setup_dependencies'"
|
41
|
+
|
42
|
+
- name: create config file
|
43
|
+
run: echo '${{ secrets.CONFIG }}' | base64 -d > config.yml
|
44
|
+
|
45
|
+
- name: upload to testflight
|
46
|
+
run: rake release:testflight
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# RubySolitaire ChangeLog
|
2
2
|
|
3
3
|
|
4
|
+
## [v1.0.0.1] - 2023-06-21
|
5
|
+
|
6
|
+
- [en]Automate to upload to TestFlight
|
7
|
+
- [ja]TestFlight へのアップロードを自動化
|
8
|
+
|
9
|
+
|
10
|
+
## [v1.0] - 2023-06-21
|
11
|
+
|
12
|
+
- [en]First public version
|
13
|
+
- [ja]最初の正式公開バージョン
|
14
|
+
|
15
|
+
|
4
16
|
## [v0.9.0] - 2023-06-20
|
5
17
|
|
6
18
|
- [en]First beta version
|
data/Rakefile
CHANGED
@@ -15,7 +15,8 @@ require 'rubysketch/solitaire/extension'
|
|
15
15
|
|
16
16
|
EXTENSIONS = [RubySketch::Solitaire]
|
17
17
|
|
18
|
-
|
18
|
+
GIT_URL = 'https://github.com/xord/solitaire'
|
19
|
+
GEMNAME = "rubysketch-#{target.name.downcase}"
|
19
20
|
|
20
21
|
PROJECT = 'project.yml'
|
21
22
|
CHANGELOG = 'ChangeLog.md'
|
@@ -55,6 +56,16 @@ def versions()
|
|
55
56
|
end
|
56
57
|
end
|
57
58
|
|
59
|
+
def clone_tmp(url, dir_name, &block)
|
60
|
+
Dir.chdir '/tmp' do
|
61
|
+
sh %( rm -rf #{dir_name} )
|
62
|
+
sh %( git clone #{url} #{dir_name} )
|
63
|
+
chdir dir_name do
|
64
|
+
block.call
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
58
69
|
|
59
70
|
default_tasks
|
60
71
|
build_ruby_gem
|
@@ -75,6 +86,14 @@ task :run do
|
|
75
86
|
sh %( ruby #{libs.join ' '} -Ilib -rrubysketch/solitaire -e '' )
|
76
87
|
end
|
77
88
|
|
89
|
+
task :testflight do |t|
|
90
|
+
clone_tmp GIT_URL, "#{APP_NAME}-#{t.name.split(':').last}" do
|
91
|
+
puts Dir.pwd
|
92
|
+
sh %( cp #{ENV['CONFIG_PATH'] or raise} . )
|
93
|
+
sh %( rake release:testflight )
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
78
97
|
|
79
98
|
namespace :xcode do
|
80
99
|
task :clean do
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0.1
|
data/fastlane/Fastfile
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
require 'yaml'
|
5
|
+
require 'base64'
|
5
6
|
|
6
7
|
|
7
8
|
def config(key, defval = nil)
|
@@ -18,6 +19,29 @@ def workspace()
|
|
18
19
|
"#{config :app_name}.xcworkspace"
|
19
20
|
end
|
20
21
|
|
22
|
+
def asc_api_key()
|
23
|
+
$api_key ||= app_store_connect_api_key(
|
24
|
+
key_id: config(:asc_key_id),
|
25
|
+
issuer_id: config(:asc_issuer_id),
|
26
|
+
key_content: config(:asc_key_content)&.then {|s| Base64.decode64 s})
|
27
|
+
end
|
28
|
+
|
29
|
+
def match_params()
|
30
|
+
{
|
31
|
+
api_key: asc_api_key,
|
32
|
+
app_identifier: config(:app_id),
|
33
|
+
git_url: config(:certs_url),
|
34
|
+
git_branch: config(:app_name)
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
def upload_params()
|
39
|
+
{
|
40
|
+
api_key: asc_api_key,
|
41
|
+
app_identifier: config(:app_id)
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
21
45
|
|
22
46
|
default_platform(:ios)
|
23
47
|
|
@@ -33,44 +57,30 @@ platform :ios do
|
|
33
57
|
use_automatic_signing: false)
|
34
58
|
end
|
35
59
|
|
36
|
-
match_params = -> {{
|
37
|
-
team_id: config(:team_id),
|
38
|
-
app_identifier: config(:app_id),
|
39
|
-
git_url: config(:certs_url),
|
40
|
-
git_branch: config(:app_name)
|
41
|
-
}}
|
42
|
-
|
43
60
|
lane :match_update do
|
44
61
|
%w[development adhoc appstore].each do |type|
|
45
|
-
sync_code_signing type: type, **match_params
|
62
|
+
sync_code_signing type: type, **match_params
|
46
63
|
end
|
47
64
|
end
|
48
65
|
|
49
66
|
lane :match_fetch do
|
50
67
|
%w[development adhoc appstore].each do |type|
|
51
|
-
sync_code_signing type: type, **match_params
|
68
|
+
sync_code_signing type: type, **match_params, readonly: true
|
52
69
|
end
|
53
70
|
end
|
54
71
|
|
55
72
|
lane :match_delete do
|
56
73
|
%w[development distribution].each do |type|
|
57
|
-
match_nuke
|
74
|
+
match_nuke type: type
|
58
75
|
end
|
59
76
|
end
|
60
77
|
|
61
|
-
upload_params = -> {{
|
62
|
-
apple_id: config(:apple_id),
|
63
|
-
team_id: config(:team_id),
|
64
|
-
app_identifier: config(:app_id)
|
65
|
-
}}
|
66
|
-
|
67
78
|
desc "Upload to TestFlight"
|
68
79
|
lane :release_testflight do
|
69
|
-
|
70
|
-
params.update({changelog: config(:changelog)})
|
80
|
+
sync_code_signing type: 'appstore', **match_params, readonly: true
|
71
81
|
|
72
|
-
sync_code_signing type: 'appstore', readonly: true, **match_params.call
|
73
82
|
build_app workspace: workspace, scheme: config(:app_name)
|
74
|
-
|
83
|
+
|
84
|
+
upload_to_testflight changelog: config(:changelog), **upload_params
|
75
85
|
end
|
76
86
|
end
|
@@ -1 +1 @@
|
|
1
|
-
-
|
1
|
+
- Automate to upload to TestFlight
|
@@ -1 +1 @@
|
|
1
|
-
-
|
1
|
+
- TestFlight へのアップロードを自動化
|
data/project.yml
CHANGED
@@ -16,8 +16,8 @@ settingGroups:
|
|
16
16
|
|
17
17
|
settings:
|
18
18
|
base:
|
19
|
-
MARKETING_VERSION: 0.
|
20
|
-
CURRENT_PROJECT_VERSION: 0.
|
19
|
+
MARKETING_VERSION: 1.0.0
|
20
|
+
CURRENT_PROJECT_VERSION: 1.0.0.1
|
21
21
|
DEVELOPMENT_TEAM: $(TEAM_ID)
|
22
22
|
configs:
|
23
23
|
debug:
|
@@ -86,9 +86,9 @@ targets:
|
|
86
86
|
Ruby scripts will be able to retrieve images from the camera.
|
87
87
|
NSUserTrackingUsageDescription:
|
88
88
|
This identifier will be used to deliver personalized ads to you.
|
89
|
-
GADApplicationIdentifier:
|
90
|
-
GADGameScreenBottomBanner: ca-app-pub-
|
91
|
-
GADGameScreenInterstitial: ca-app-pub-
|
89
|
+
GADApplicationIdentifier: ca-app-pub-2838008143835331~1720297583
|
90
|
+
GADGameScreenBottomBanner: ca-app-pub-2838008143835331/4306898056
|
91
|
+
GADGameScreenInterstitial: ca-app-pub-2838008143835331/8585888561
|
92
92
|
SKAdNetworkItems:
|
93
93
|
- SKAdNetworkIdentifier: cstr6suwn9.skadnetwork
|
94
94
|
- SKAdNetworkIdentifier: 4fzdc2evr5.skadnetwork
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubysketch-solitaire
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xot
|
@@ -60,6 +60,7 @@ extra_rdoc_files: []
|
|
60
60
|
files:
|
61
61
|
- ".bundle/config"
|
62
62
|
- ".github/workflows/release-gem.yml"
|
63
|
+
- ".github/workflows/release-ios.yml"
|
63
64
|
- ".github/workflows/test.yml"
|
64
65
|
- ".github/workflows/utils.rb"
|
65
66
|
- ".gitignore"
|