Files

14 lines
481 B
Bash
Executable File

#!/usr/bin/env bash
BUILD_ARCH="$3"
BUILD_ARCH="${BUILD_ARCH:-$(uname -m)}"
# Ensure we build with the most up-to-date package list. This could get stale due to Docker
# filesystem caching.
sudo pacman -Sy
# Run the bundle script, specifying the release channel and tag, skipping
# building the binary (as we have already done so), and only bundling the
# Arch package.
./script/bundle --channel $1 --release-tag $2 --skip-build --packages arch --arch $BUILD_ARCH --artifact $4