Commit daa430af authored by Éloïs's avatar Éloïs
Browse files

[build] releases: rename duniter-rust -> dunitrust

parent 33a64b9a
Pipeline #6478 waiting for manual action with stages
in 46 minutes and 49 seconds
......@@ -61,8 +61,8 @@ build_extra_server() {
build_deb_pack() {
#cd "bin/dunitrust-${1}"
#cargo build --release --target=armv7-unknown-linux-gnueabihf --features=ssl
cargo deb --manifest-path="bin/dunitrust-${1}/Cargo.toml" --target=${TARGET} --variant=arm --output "${BIN}/duniter-rust-${1}-${DURS_TAG}-armv7.deb"
create_desc "${BIN}/duniter-rust-${1}-${DURS_TAG}-armv7.deb" "${1}" "Linux (Ubuntu/Debian/Raspbian)"
cargo deb --manifest-path="bin/dunitrust-${1}/Cargo.toml" --target=${TARGET} --variant=arm --output "${BIN}/dunitrust-${1}-${DURS_TAG}-armv7.deb"
create_desc "${BIN}/dunitrust-${1}-${DURS_TAG}-armv7.deb" "${1}" "Linux (Ubuntu/Debian/Raspbian)"
}
# ------------
......@@ -102,5 +102,5 @@ cp "${ROOT}/images/duniter-rs.png" "${RELEASES}/server_/" || exit 1
# package tar.gz for server variant
cd "${RELEASES}/server_"
tar czf "${BIN}/duniter-rust-server-${DURS_TAG}-armv7.tar.gz" * || exit 1
create_desc "${BIN}/duniter-rust-server-${DURS_TAG}-armv7.tar.gz" "Server" "Linux (generic)"
tar czf "${BIN}/dunitrust-server-${DURS_TAG}-armv7.tar.gz" * || exit 1
create_desc "${BIN}/dunitrust-server-${DURS_TAG}-armv7.tar.gz" "Server" "Linux (generic)"
......@@ -58,8 +58,8 @@ build_extra_server() {
# Parameters:
# 1. Building type (either “desktop” or “server”).
build_deb_pack() {
cargo deb --manifest-path "${ROOT}/bin/dunitrust-${1}/Cargo.toml" --output "${BIN}/dunitrust-server-${1}-${DURS_TAG}-linux-x64.deb"
create_desc "${BIN}/duniter-rust-${1}-${DURS_TAG}-linux-x64.deb" "${1}" "Linux (Ubuntu/Debian)"
cargo deb --manifest-path "${ROOT}/bin/dunitrust-${1}/Cargo.toml" --output "${BIN}/dunitrust-${1}-${DURS_TAG}-linux-x64.deb"
create_desc "${BIN}/dunitrust-${1}-${DURS_TAG}-linux-x64.deb" "${1}" "Linux (Ubuntu/Debian)"
}
# ------------
......@@ -98,5 +98,5 @@ cp "${ROOT}/images/duniter-rs.png" "${RELEASES}/server_/" || exit 1
# package tar.gz for server variant
cd "${RELEASES}/server_"
tar czf "${BIN}/duniter-rust-server-${DURS_TAG}-linux-x64.tar.gz" * || exit 1
create_desc "${BIN}/duniter-rust-server-${DURS_TAG}-linux-x64.tar.gz" "Server" "Linux (generic)"
tar czf "${BIN}/dunitrust-server-${DURS_TAG}-linux-x64.tar.gz" * || exit 1
create_desc "${BIN}/dunitrust-server-${DURS_TAG}-linux-x64.tar.gz" "Server" "Linux (generic)"
......@@ -86,5 +86,5 @@ cp "${ROOT}/target/${TARGET}/release/dunitrust.exe" "${RELEASES}/server_/" || ex
# ---------------
cd "${RELEASES}/server_"
zip "${BIN}/duniter-rust-server-${DURS_TAG}-windows-x64.zip" * || exit 1
create_desc "${BIN}/duniter-rust-server-${DURS_TAG}-windows-x64.zip" "Server" "Windows"
zip "${BIN}/dunitrust-server-${DURS_TAG}-windows-x64.zip" * || exit 1
create_desc "${BIN}/dunitrust-server-${DURS_TAG}-windows-x64.zip" "Server" "Windows"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment