File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
.github/actions/generate-version-code Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7878 if : ${{ inputs.os == 'ios' }}
7979 shell : bash
8080 run : |
81- VERSIONCODE=$(bundle exec fastlane ios get_testflight_version | tail -n1 )
81+ VERSIONCODE=$(bundle exec fastlane ios get_testflight_version | grep 'VERSIONCODE=' | cut -d '=' -f2 )
8282 echo "LATEST_VERSIONCODE=$VERSIONCODE" >> $GITHUB_OUTPUT
8383 working-directory : ios
8484 env :
9494 if : ${{ inputs.os == 'android' }}
9595 shell : bash
9696 run : |
97- VERSIONCODE=$(bundle exec fastlane android version_code | tail -n1 )
97+ VERSIONCODE=$(bundle exec fastlane android version_code | grep 'VERSIONCODE=' | cut -d '=' -f2 )
9898 echo "LATEST_VERSIONCODE=$VERSIONCODE" >> $GITHUB_OUTPUT
9999 working-directory : android
100100
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ platform :android do
7373 UI . success ( "Highest: #{ highest_version } " )
7474 UI . success ( "Highest + 1: #{ highest_version + 1 } " )
7575
76- puts highest_version
76+ puts "VERSIONCODE= #{ highest_version } "
7777 end
7878
7979 desc "Upload App to Play Store Internal (Circle CI)"
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ platform :ios do
3838 )
3939
4040 UI . message ( "Latest version: #{ latest_version } " )
41- puts latest_version
41+ puts "VERSIONCODE= #{ latest_version } "
4242 end
4343
4444 desc "Submit a new Beta Build to Apple TestFlight (Circle CI)"
You can’t perform that action at this time.
0 commit comments