File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 shell : bash
3737
3838 env :
39- ARTIFACT : QGroundControl.apk
4039 PACKAGE : QGroundControl
4140 QT_VERSION : 6.6.3
4241 QT_ANDROID_KEYSTORE_PATH : ${{ github.workspace }}/deploy/android/android_release.keystore
5857 run : |
5958 git fetch --all --tags -f --depth 1
6059
60+ - name : Determine artifact name
61+ id : artifact
62+ run : |
63+ VERSION=$(git describe --always --abbrev=0)
64+ echo "name=QGroundControl-${VERSION}-herelink.apk" >> $GITHUB_OUTPUT
65+
6166 - name : Initial Setup
6267 uses : ./.github/actions/common
6368
@@ -87,17 +92,17 @@ jobs:
8792 working-directory : ${{ runner.temp }}/shadow_build_dir
8893 run : cmake --build . --target all --config ${{ matrix.BuildType }}
8994
90- - run : cp ${{ runner.temp }}/shadow_build_dir/android-build/*.apk ${{ runner.temp }}/shadow_build_dir/${{ env.ARTIFACT }}
95+ - run : cp ${{ runner.temp }}/shadow_build_dir/android-build/*.apk ${{ runner.temp }}/shadow_build_dir/${{ steps.artifact.outputs.name }}
9196
9297 - name : Save APK
9398 uses : actions/upload-artifact@v4
9499 with :
95- name : ${{ env.ARTIFACT }}
96- path : ${{ runner.temp }}/shadow_build_dir/android-build/*.apk
100+ name : ${{ steps.artifact.outputs.name }}
101+ path : ${{ runner.temp }}/shadow_build_dir/${{ steps.artifact.outputs.name }}
97102
98103 - name : Create GitHub Release
99104 if : github.ref_type == 'tag'
100105 uses : softprops/action-gh-release@v2
101106 with :
102- files : ${{ runner.temp }}/shadow_build_dir/${{ env.ARTIFACT }}
107+ files : ${{ runner.temp }}/shadow_build_dir/${{ steps.artifact.outputs.name }}
103108 generate_release_notes : true
Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ qt_policy(
243243#######################################################
244244
245245if (CMAKE_BUILD_TYPE STREQUAL "Release" )
246+ add_link_options (-s )
246247 add_compile_definitions (
247248 NDEBUG
248249 QT_NO_DEBUG
Original file line number Diff line number Diff line change 1- set (QGC_APP_NAME "QGroundControl-Herelink " )
1+ set (QGC_APP_NAME "QGroundControl-v5 " )
22set (QGC_APP_DESCRIPTION "QGroundControl Herelink" )
33set (QGC_APP_COPYRIGHT "Copyright (C) 2025 Cubepilot. All rights reserved." )
44set (QGC_ORG_DOMAIN "org.cubepilot" )
You can’t perform that action at this time.
0 commit comments