aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-04-06 13:24:36 +0200
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-04-06 13:42:20 +0200
commitbcd5ff902b2262f000646cc4c154b874b516c27b (patch)
treede50acca317fe0790bb2131673f72cb2a5ef9ec6 /justfile
parent6be848db5b8ae946a6896dcfad69914544949b97 (diff)
Forward channel, clean_images and flatpak_cargo_generator
Eventually this logic will need to change.
Diffstat (limited to 'justfile')
-rw-r--r--justfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/justfile b/justfile
index 4ef4b5b..9a3de94 100644
--- a/justfile
+++ b/justfile
@@ -79,7 +79,7 @@ build-container name:
# Builds all containers
build-containers:
- for container in {{all_containers}}; do just build-container "$container"; done
+ for container in {{all_containers}}; do just container_image_prefix={{container_image_prefix}} clean_images={{clean_images}} build-container "$container"; done
# Packaging ####################################################################
@@ -190,11 +190,11 @@ package-deb distro: _ensure-distdir (build-container distro) dist && (_clean-ima
# Build .rpm for every supported distro
package-rpm-all:
- for distro in {{fedora_versions}}; do just package-rpm "$distro"; done
+ for distro in {{fedora_versions}}; do just clean_images={{clean_images}} channel={{channel}} package-rpm "$distro"; done
# Build .deb for every supported distro
package-deb-all:
- for distro in {{debian_versions}}; do just package-deb "$distro"; done
+ for distro in {{debian_versions}}; do just clean_images={{clean_images}} channel={{channel}} package-deb "$distro"; done
# Build all distributable packages
package: package-flatpak package-appimage package-arch package-rpm-all package-deb-all
@@ -212,11 +212,11 @@ distribute-arch: (_sign-and-upload f"{{distdir}}/{{filename}}-arch.pkg.tar.gz")
# Sign and upload .rpm files
distribute-rpm:
- for distro in {{fedora_versions}}; do just _distribute-rpm "$distro"; done
+ for distro in {{fedora_versions}}; do just _distribute-rpm channel={{channel}} "$distro"; done
# Sign and upload .deb files
distribute-deb:
- for distro in {{debian_versions}}; do just _distribute-deb "$distro"; done
+ for distro in {{debian_versions}}; do just _distribute-deb channel={{channel}} "$distro"; done
# Sign and upload all distributable packages
distribute: distribute-flatpak distribute-appimage distribute-arch distribute-rpm distribute-deb
@@ -236,9 +236,9 @@ release: package distribute
ci: lint
#!/usr/bin/env bash
if [[ "$GIT_REF" == "refs/heads/main" ]]; then
- just release
+ just clean_images={{clean_images}} flatpak_cargo_generator={{flatpak_cargo_generator}} release
elif [[ "$GIT_REF" == refs/tags/* ]]; then
- just channel="${GIT_REF#refs/tags/}" release
+ just clean_images={{clean_images}} flatpak_cargo_generator={{flatpak_cargo_generator}} channel="${GIT_REF#refs/tags/}" release
else
echo "Not in CI environment."
fi