1 parent
de13d851a8
commit
a28362b82c
34 files changed
+1541
-341
No files matched your search
@@ -5,7 +5,7 @@ set -eu
|
||||
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
||||
IMAGE=${IMAGE:-golang:1.23-bookworm}
|
||||
BUILD_ID=${BUILD_ID:-}
|
||||
VERSION=${VERSION:-0.1.1}
|
||||
VERSION=${VERSION:-0.1.2-1}
|
||||
ARCH=${ARCH:-${GOARCH:-all}}
|
||||
|
||||
usage() {
|
||||
@@ -17,7 +17,7 @@ on the host; Go, dpkg-deb, and cross-compilation tools run in the container.
|
||||
|
||||
Options:
|
||||
--arch Architectures to build (default: all = amd64 + arm64)
|
||||
--version Debian package version (default: 0.1.1)
|
||||
--version Debian package version (default: 0.1.2-1)
|
||||
--image Debian-based Go image (default: golang:1.23-bookworm)
|
||||
--build-id Optional unique build stamp for hashed static filenames
|
||||
-h, --help Show this message
|
||||
@@ -27,7 +27,7 @@ Packages are written to ./dist/easydns-ui_VERSION_ARCH.deb.
|
||||
|
||||
Examples:
|
||||
./scripts/build_deb.sh
|
||||
./scripts/build_deb.sh --arch amd64 --version 0.1.1
|
||||
./scripts/build_deb.sh --arch amd64 --version 0.1.2-1
|
||||
IMAGE=golang:1.23-bookworm ./scripts/build_deb.sh --arch arm64
|
||||
HELP
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user