mirror of https://github.com/FOME-Tech/fome-fw.git
manually name builds instead of using branch name
This commit is contained in:
parent
6a5c35b81f
commit
54b7063349
|
@ -9,6 +9,10 @@ on:
|
||||||
description: 'Upload Build Outputs'
|
description: 'Upload Build Outputs'
|
||||||
required: false
|
required: false
|
||||||
type: boolean
|
type: boolean
|
||||||
|
build_name:
|
||||||
|
description: 'Release Build Name'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-firmware:
|
build-firmware:
|
||||||
|
@ -268,7 +272,7 @@ jobs:
|
||||||
|
|
||||||
- name: Package Bundle
|
- name: Package Bundle
|
||||||
if: ${{ env.full == 'true' }}
|
if: ${{ env.full == 'true' }}
|
||||||
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh ${{matrix.build-target}} "${{matrix.ini-file}}" ${{ github.ref_name }}
|
run: bash misc/jenkins/compile_other_versions/prepare_bundle.sh ${{matrix.build-target}} "${{matrix.ini-file}}" ${{ }}
|
||||||
|
|
||||||
# - name: Upload HyperTuner .ini
|
# - name: Upload HyperTuner .ini
|
||||||
# if: ${{ env.full == 'true' && env.upload == 'true' }}
|
# if: ${{ env.full == 'true' && env.upload == 'true' }}
|
||||||
|
|
|
@ -8,7 +8,8 @@ echo "RUSEFI_BUILD_FTP_USER=$RUSEFI_BUILD_FTP_USER"
|
||||||
|
|
||||||
TIMESTAMP=$(date "+%Y%m%d_%H%M%S")
|
TIMESTAMP=$(date "+%Y%m%d_%H%M%S")
|
||||||
|
|
||||||
if [ "$3" = "master" ]; then
|
# No arg 3 means this is a snapshot "no name", just use the timestamp
|
||||||
|
if [ -z $3 ]; then
|
||||||
export FOLDER="temp/fome.snapshot.${TIMESTAMP}.${BUNDLE_NAME}"
|
export FOLDER="temp/fome.snapshot.${TIMESTAMP}.${BUNDLE_NAME}"
|
||||||
else
|
else
|
||||||
export FOLDER="temp/fome.${3}.${BUNDLE_NAME}"
|
export FOLDER="temp/fome.${3}.${BUNDLE_NAME}"
|
||||||
|
|
Loading…
Reference in New Issue