File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 2626
2727 - name : Build application
2828 shell : bash
29+ if : startsWith(github.ref, 'refs/tags/')
2930 run : |
31+ TAG_NAME="${{ github.ref_name }}"
32+ CLEAN_TAG="${TAG_NAME#v}"
3033 chmod +x linux-arm-nightly-build.sh
31- ./linux-arm-nightly-build.sh
34+ ./linux-arm-nightly-build.sh -t "$CLEAN_TAG"
3235
3336 - name : Release it
3437 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ build_and_package() {
243243 fi
244244
245245 if [ -f " $publish_path " ]; then
246+ chmod +x " $publish_path "
246247 zip -j " $zip_name " " $publish_path "
247248 echo " Created: $zip_name "
248249 else
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
3- TAG_NAME=" 0.2.3-devbuild "
3+ TAG_NAME=" armdev "
44TARGET_PLATFORM=" linux-arm64"
55
6+ while [[ $# -gt 0 ]]; do
7+ case $1 in
8+ -t|--tag)
9+ TAG_NAME=" ${2} (ARM AOT Build)"
10+ shift 2
11+ ;;
12+ * )
13+ echo " Unknown option: $1 "
14+ exit 1
15+ ;;
16+ esac
17+ done
18+
619# Get Git commit hash
720COMMIT_HASH=$( git rev-parse --short HEAD)
821
You can’t perform that action at this time.
0 commit comments