File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -39,20 +39,22 @@ jobs:
3939 with :
4040 lfs : true
4141 fetch-depth : 0
42-
42+
4343 - name : Compute build version
4444 id : version
4545 run : |
4646 if [[ "${{ env.IS_RELEASE }}" == "true" ]]; then
47- if [[ -z "${{ inputs.version }}" ]]; then
48- echo "❌ Release builds require a version"
49- exit 1
50- fi
51- echo "VERSION=${{ inputs.version }}" >> $GITHUB_OUTPUT
47+ if [[ -z "${{ inputs.version }}" ]]; then
48+ echo "❌ Release builds require a version"
49+ exit 1
50+ fi
51+ echo "VERSION=${{ inputs.version }}" >> $GITHUB_OUTPUT
5252 else
53- DATE=$(date -u +"%Y%m%d")
54- SHA=$(git rev-parse --short HEAD)
55- echo "VERSION=dev-${DATE}-${SHA}" >> $GITHUB_OUTPUT
53+ DATE=$(date -u +"%Y%m%d")
54+ SHA=$(git rev-parse --short HEAD)
55+ echo "VERSION=dev-${DATE}-${SHA}" >> $GITHUB_OUTPUT
56+ fi
57+
5658
5759 - name : Export Spectrum
5860 id : export
You can’t perform that action at this time.
0 commit comments