diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50dcbcc1..62a5dc49 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: - name: Build archive client(DEB) shell: bash run: | - binary_name="client" + binary_name="dragonfly-client" dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}" cargo deb -p dragonfly-client --no-build --target ${{ matrix.target }} --variant ${{ matrix.target }} --compress-type gzip --output $dirname.deb echo "CLIENT_DEB_ASSET=$dirname.deb" >> $GITHUB_ENV @@ -82,15 +82,15 @@ jobs: - name: Build archive client(RPM) shell: bash run: | - binary_name="client" + binary_name="dragonfly-client" dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}" - cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --payload-compress gzip --output $dirname.rpm + cargo generate-rpm -p dragonfly-client --target ${{ matrix.target }} --variant ${{ matrix.target }} --payload-compress none --output $dirname.rpm echo "CLIENT_RPM_ASSET=$dirname.rpm" >> $GITHUB_ENV - name: Build archive client(TAR) shell: bash run: | - binary_name="client" + binary_name="dragonfly-client" dirname="$binary_name-${{ env.VERSION }}-${{ matrix.target }}" mkdir -p "$dirname" mv "target/${{ matrix.target }}/release/dfget" "$dirname" diff --git a/Cargo.lock b/Cargo.lock index 8b90a744..fb435a6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -871,7 +871,7 @@ dependencies = [ [[package]] name = "dragonfly-client" -version = "0.1.121" +version = "0.1.122" dependencies = [ "anyhow", "blake3", @@ -944,7 +944,7 @@ dependencies = [ [[package]] name = "dragonfly-client-backend" -version = "0.1.121" +version = "0.1.122" dependencies = [ "dragonfly-api", "dragonfly-client-core", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "dragonfly-client-config" -version = "0.1.121" +version = "0.1.122" dependencies = [ "bytesize", "bytesize-serde", @@ -1001,7 +1001,7 @@ dependencies = [ [[package]] name = "dragonfly-client-core" -version = "0.1.121" +version = "0.1.122" dependencies = [ "headers 0.4.0", "hyper 1.5.1", @@ -1020,7 +1020,7 @@ dependencies = [ [[package]] name = "dragonfly-client-init" -version = "0.1.121" +version = "0.1.122" dependencies = [ "anyhow", "clap", @@ -1038,7 +1038,7 @@ dependencies = [ [[package]] name = "dragonfly-client-storage" -version = "0.1.121" +version = "0.1.122" dependencies = [ "base16ct", "bincode", @@ -1064,7 +1064,7 @@ dependencies = [ [[package]] name = "dragonfly-client-util" -version = "0.1.121" +version = "0.1.122" dependencies = [ "base16ct", "base64 0.22.1", @@ -1454,7 +1454,7 @@ dependencies = [ [[package]] name = "hdfs" -version = "0.1.121" +version = "0.1.122" dependencies = [ "dragonfly-client-backend", "dragonfly-client-core", diff --git a/Cargo.toml b/Cargo.toml index b164f50f..2bfdfbb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.1.121" +version = "0.1.122" authors = ["The Dragonfly Developers"] homepage = "https://d7y.io/" repository = "https://github.com/dragonflyoss/client.git" @@ -22,13 +22,13 @@ readme = "README.md" edition = "2021" [workspace.dependencies] -dragonfly-client = { path = "dragonfly-client", version = "0.1.121" } -dragonfly-client-core = { path = "dragonfly-client-core", version = "0.1.121" } -dragonfly-client-config = { path = "dragonfly-client-config", version = "0.1.121" } -dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.1.121" } -dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.1.121" } -dragonfly-client-util = { path = "dragonfly-client-util", version = "0.1.121" } -dragonfly-client-init = { path = "dragonfly-client-init", version = "0.1.121" } +dragonfly-client = { path = "dragonfly-client", version = "0.1.122" } +dragonfly-client-core = { path = "dragonfly-client-core", version = "0.1.122" } +dragonfly-client-config = { path = "dragonfly-client-config", version = "0.1.122" } +dragonfly-client-storage = { path = "dragonfly-client-storage", version = "0.1.122" } +dragonfly-client-backend = { path = "dragonfly-client-backend", version = "0.1.122" } +dragonfly-client-util = { path = "dragonfly-client-util", version = "0.1.122" } +dragonfly-client-init = { path = "dragonfly-client-init", version = "0.1.122" } thiserror = "1.0" dragonfly-api = "=2.0.173" reqwest = { version = "0.12.4", features = ["stream", "native-tls", "default-tls", "rustls-tls"] } diff --git a/dragonfly-client/Cargo.toml b/dragonfly-client/Cargo.toml index 3248acbc..98b7628e 100644 --- a/dragonfly-client/Cargo.toml +++ b/dragonfly-client/Cargo.toml @@ -334,6 +334,7 @@ assets = [ { source = "../LICENSE", dest = "/usr/share/doc/client/LICENSE.md", mode = "644", doc = true }, { source = "../README.md", dest = "/usr/share/doc/client/README.md", mode = "644", doc = true }, ] +auto-req = "no" [package.metadata.generate-rpm.variants.aarch64-unknown-linux-gnu] assets = [ @@ -360,3 +361,4 @@ assets = [ { source = "../LICENSE", dest = "/usr/share/doc/client/LICENSE.md", mode = "644", doc = true }, { source = "../README.md", dest = "/usr/share/doc/client/README.md", mode = "644", doc = true }, ] +auto-req = "no"