build: simplify nightly versioning

This commit is contained in:
Adrià Arrufat committed 2026-03-27 10:47:43 +09:00
1 parent cdd33621e3
commit 7f2139f612
2 files changed
+29 -23

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ env:
AWS_REGION: ${{ vars.NIGHTLY_BUILD_AWS_REGION }}
RELEASE: ${{ github.ref_type == 'tag' && github.ref_name || 'nightly' }}
VERSION_FLAG: ${{ github.ref_type == 'tag' && format('-Dversion_string={0}', github.ref_name) || format('-Dpre_version={0}', 'nightly') }}
VERSION_FLAG: ${{ github.ref_type == 'tag' && format('-Dversion={0}', github.ref_name) || '-Dversion=nightly' }}
on:
push: