Skip to content

Commit d6ccc6f

Browse files
authored
Merge pull request #96 from yukiarrr/fix-version-v1.7.0
Fix version v1.7.0
2 parents 645dc08 + e9cf01a commit d6ccc6f

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can add a single p12 key+cert file with `p12-base64 (p12-path)`, or if you h
4343
**Required**: Base64 encoded mobileprovision file. If you want to specify multiple files, you need to input in multiple lines and then use [`export-options`](#export-options) to specify the provisioning profile to use for each executable in your app.
4444

4545
```yaml
46-
- uses: yukiarrr/ios-build-action@v1.6.0
46+
- uses: yukiarrr/ios-build-action@v1.7.0
4747
with:
4848
mobileprovision-base64: |
4949
${{ secrets.MY_MOBILEPROVISION_BASE64 }}
@@ -59,7 +59,7 @@ Also note, when creating base64 encoded inputs, make sure they don't contain new
5959
**Required**: mobileprovision path. If you want to specify multiple files, you need to input in multiple lines and then use [`export-options`](#export-options) to specify the provisioning profile to use for each executable in your app.
6060

6161
```yaml
62-
- uses: yukiarrr/ios-build-action@v1.6.0
62+
- uses: yukiarrr/ios-build-action@v1.7.0
6363
with:
6464
mobileprovision-path: |
6565
ios-build-1.mobileprovision
@@ -107,7 +107,7 @@ Output path of ipa. Default `"output.ipa"`.
107107
Targets to be updated with mobileprovision, code signing identity, etc. Split on new lines. Default `""`. (default to all targets)
108108

109109
```yaml
110-
- uses: yukiarrr/ios-build-action@v1.6.0
110+
- uses: yukiarrr/ios-build-action@v1.7.0
111111
with:
112112
update-targets: |
113113
MyApp
@@ -155,7 +155,7 @@ Welcome your contributions!
155155
### single p12
156156

157157
```yaml
158-
- uses: yukiarrr/ios-build-action@v1.6.0
158+
- uses: yukiarrr/ios-build-action@v1.7.0
159159
with:
160160
project-path: Unity-iPhone.xcodeproj
161161
p12-base64: ${{ secrets.P12_BASE64 }}
@@ -168,7 +168,7 @@ Welcome your contributions!
168168
### key and cert
169169

170170
```yaml
171-
- uses: yukiarrr/ios-build-action@v1.6.0
171+
- uses: yukiarrr/ios-build-action@v1.7.0
172172
with:
173173
project-path: Unity-iPhone.xcodeproj
174174
p12-key-base64: ${{ secrets.P12_KEY_BASE64 }}

fastlane/Fastfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ platform :ios do
6565
path: ENV['PROJECT_PATH'],
6666
code_sign_identity: ENV['CODE_SIGNING_IDENTITY'],
6767
targets: update_targets,
68-
entitlements_file_path: ENV['ENTITLMENTS_FILE_PATH']
68+
entitlements_file_path:
69+
if !ENV['ENTITLMENTS_FILE_PATH'].empty?
70+
ENV['ENTITLMENTS_FILE_PATH']
71+
else
72+
nil
73+
end
6974
)
7075

7176
if @profiles.length == 1
@@ -141,10 +146,8 @@ platform :ios do
141146
use_build_destination = !ENV['BUILD_DESTINATION'].empty?
142147
use_cloned_source_packages_path = !ENV['CLONED_SOURCE_PACKAGES_PATH'].empty?
143148

144-
if ENV['INCREMENT_BUILD_NUMBER'] == "true"
145-
increment_build_number(
146-
xcodeproj: ENV['PROJECT_PATH']
147-
)
149+
if ENV['INCREMENT_BUILD_NUMBER'] == 'true'
150+
increment_build_number(xcodeproj: ENV['PROJECT_PATH'])
148151
end
149152

150153
build_app(

0 commit comments

Comments
 (0)