manually name builds instead of using branch name

This commit is contained in:
Matthew Kennedy 2023-05-12 11:32:49 -07:00
parent 6a5c35b81f
commit 54b7063349
2 changed files with 7 additions and 2 deletions

View File

@ -9,6 +9,10 @@ on:
description: 'Upload Build Outputs'
required: false
type: boolean
build_name:
description: 'Release Build Name'
required: false
type: string
jobs:
build-firmware:
@ -268,7 +272,7 @@ jobs:
- name: Package Bundle
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
# if: ${{ env.full == 'true' && env.upload == 'true' }}

View File

@ -8,7 +8,8 @@ echo "RUSEFI_BUILD_FTP_USER=$RUSEFI_BUILD_FTP_USER"
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}"
else
export FOLDER="temp/fome.${3}.${BUNDLE_NAME}"