chore: create_release.sh updated

This commit is contained in:
Jack Wills
2025-02-22 13:47:39 +00:00
parent 9194c77342
commit 1ed2b71b1a
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -202,24 +202,28 @@ check_cross() {
fi fi
} }
# Build, using cross-rs, for linux x86 musl
cross_build_x86_linux() { cross_build_x86_linux() {
check_cross check_cross
echo -e "${YELLOW}cross build --target x86_64-unknown-linux-musl --release${RESET}" echo -e "${YELLOW}cross build --target x86_64-unknown-linux-musl --release${RESET}"
cross build --target x86_64-unknown-linux-musl --release cross build --target x86_64-unknown-linux-musl --release
} }
# Build, using cross-rs, for linux arm64 musl
cross_build_aarch64_linux() { cross_build_aarch64_linux() {
check_cross check_cross
echo -e "${YELLOW}cross build --target aarch64-unknown-linux-musl --release${RESET}" echo -e "${YELLOW}cross build --target aarch64-unknown-linux-musl --release${RESET}"
cross build --target aarch64-unknown-linux-musl --release cross build --target aarch64-unknown-linux-musl --release
} }
# Build, using cross-rs, for linux armv6 musl
cross_build_armv6_linux() { cross_build_armv6_linux() {
check_cross check_cross
echo -e "${YELLOW}cross build --target arm-unknown-linux-musleabihf --release${RESET}" echo -e "${YELLOW}cross build --target arm-unknown-linux-musleabihf --release${RESET}"
cross build --target arm-unknown-linux-musleabihf --release cross build --target arm-unknown-linux-musleabihf --release
} }
# Build, using cross-rs, for windows x86
cross_build_x86_windows() { cross_build_x86_windows() {
check_cross check_cross
echo -e "${YELLOW}cross build --target x86_64-pc-windows-gnu --release${RESET}" echo -e "${YELLOW}cross build --target x86_64-pc-windows-gnu --release${RESET}"
+1 -1
View File
@@ -21,7 +21,7 @@
// Docker host location // Docker host location
"host": "/var/run/docker.sock", "host": "/var/run/docker.sock",
// Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.01234567 // Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.01234567
// *Should* accept any valid strftime string up to 32 chars // *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/
"timestamp_format": "%Y-%m-%dT%H:%M:%S.%8f", "timestamp_format": "%Y-%m-%dT%H:%M:%S.%8f",
// Display the container logs timestamp with a given timezone, if timezone is unknown, defaults to UTC // Display the container logs timestamp with a given timezone, if timezone is unknown, defaults to UTC
"timezone": "Etc/UTC", "timezone": "Etc/UTC",
+1 -1
View File
@@ -31,7 +31,7 @@ host = "/var/run/docker.sock"
timezone = "Etc/UTC" timezone = "Etc/UTC"
# Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z # Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z
# *Should* accept any valid strftime string up to 32 chars # *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/
timestamp_format="%Y-%m-%dT%H:%M:%S.%8f" timestamp_format="%Y-%m-%dT%H:%M:%S.%8f"
# Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows # Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows
+1 -1
View File
@@ -31,7 +31,7 @@ host = "/var/run/docker.sock"
timezone = "Etc/UTC" timezone = "Etc/UTC"
# Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z # Display the timestamp in a custom format, if given option is invalid, it will default to %Y-%m-%dT%H:%M:%S.%8f -> 2025-02-18T12:34:56.012345678Z
# *Should* accept any valid strftime string up to 32 chars # *Should* accept any valid strftime string up to 32 chars, see https://strftime.org/
timestamp_format="%Y-%m-%dT%H:%M:%S.%8f" timestamp_format="%Y-%m-%dT%H:%M:%S.%8f"
# Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows # Directory for saving exported logs, defaults to `$HOME`, this is automatically *correctly* calculated for Linux, Mac, and Windows