Skip to content

Commit e9d0976

Browse files
committed
chore: fastlane fix
1 parent 3e2086a commit e9d0976

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fastlane/Fastfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ lane :build_flavor do |params|
156156
options = params[:options]
157157
version = ""
158158
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
163163

164164
# there we add the platform to the dist paramater. The idea is to have different dist for ios android
165165
# 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|
186186

187187
build_output = build(flavor: flavor, options: options)
188188

189-
next
189+
# next
190190

191191
if (ENV["GITHUB_ACTIONS"] != 'true')
192192
# push anything standing

0 commit comments

Comments
 (0)