File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,10 +156,10 @@ lane :build_flavor do |params|
156
156
options = params [ :options ]
157
157
version = ""
158
158
versionCode = ""
159
- # Dir.chdir(project_root_path) do
160
- # version = sh("./node_modules/.bin/get-version", platform, "version").gsub(/\n/,'')
161
- # versionCode = sh("./node_modules/.bin/get-version", platform, "code").gsub(/\n/,'')
162
- # end
159
+ Dir . chdir ( project_root_path ) do
160
+ version = sh ( "./node_modules/.bin/get-version" , platform , "version" ) . gsub ( /\n / , '' )
161
+ versionCode = sh ( "./node_modules/.bin/get-version" , platform , "code" ) . gsub ( /\n / , '' )
162
+ end
163
163
164
164
# there we add the platform to the dist paramater. The idea is to have different dist for ios android
165
165
# this is because we generate different sources for android and ios so we have different sourceMaps
@@ -186,7 +186,7 @@ lane :build_flavor do |params|
186
186
187
187
build_output = build ( flavor : flavor , options : options )
188
188
189
- next
189
+ # next
190
190
191
191
if ( ENV [ "GITHUB_ACTIONS" ] != 'true' )
192
192
# push anything standing
You can’t perform that action at this time.
0 commit comments