mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
artifacts (all): require prefixing of artifact_version with artifact_prefix_version (which is ${REVISION}--)
This commit is contained in:
committed by
Igor Pečovnik
parent
4a1eec83e7
commit
ff657fcf90
@@ -10,6 +10,7 @@
|
||||
function artifact_rootfs_prepare_version() {
|
||||
artifact_version="undetermined" # outer scope
|
||||
artifact_version_reason="undetermined" # outer scope
|
||||
[[ -z "${artifact_prefix_version}" ]] && exit_with_error "artifact_prefix_version is not set"
|
||||
|
||||
assert_requires_aggregation # Bombs if aggregation has not run
|
||||
|
||||
@@ -30,7 +31,7 @@ function artifact_rootfs_prepare_version() {
|
||||
# @TODO: gotta include the extensions rootfs-modifying id to cache_type...
|
||||
|
||||
# outer scope
|
||||
artifact_version="${rootfs_cache_id}"
|
||||
artifact_version="${artifact_prefix_version}${rootfs_cache_id}"
|
||||
artifact_version_reason="${reasons[*]}"
|
||||
artifact_name="${ARCH}-${RELEASE}-${cache_type}"
|
||||
artifact_type="tar.zst"
|
||||
|
||||
Reference in New Issue
Block a user