Skip to content

Commit bfffde7

Browse files
authored
ci: fix deb package info (#17826)
1 parent 3195529 commit bfffde7

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/actions/pack_deb/action.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ runs:
6464
export deb_version="${{ steps.info.outputs.deb_version }}"
6565
export deb_arch="${{ steps.info.outputs.deb_arch }}"
6666
pkg_name="databend-query_${deb_version}_${deb_arch}.deb"
67-
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${version} ${path} ${arch}' < scripts/distribution/nfpm-query.yaml)
67+
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${deb_arch} ${deb_version} ${path}' < scripts/distribution/nfpm-query.yaml)
6868
6969
- name: Build Databend Meta Package
7070
shell: bash
@@ -74,7 +74,7 @@ runs:
7474
export deb_version="${{ steps.info.outputs.deb_version }}"
7575
export deb_arch="${{ steps.info.outputs.deb_arch }}"
7676
pkg_name="databend-meta_${deb_version}_${deb_arch}.deb"
77-
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${version} ${path} ${arch}' < scripts/distribution/nfpm-meta.yaml)
77+
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${deb_arch} ${deb_version} ${path}' < scripts/distribution/nfpm-meta.yaml)
7878
7979
- name: Build Databend Debug Package
8080
shell: bash
@@ -84,7 +84,7 @@ runs:
8484
export deb_version="${{ steps.info.outputs.deb_version }}"
8585
export deb_arch="${{ steps.info.outputs.deb_arch }}"
8686
pkg_name="databend-query-dbg_${deb_version}_${deb_arch}.deb"
87-
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${version} ${path} ${arch}' < scripts/distribution/nfpm-query-dbg.yaml)
87+
nfpm pkg --packager deb -t "${path}/${pkg_name}" -f <(envsubst '${deb_arch} ${deb_version} ${path}' < scripts/distribution/nfpm-query-dbg.yaml)
8888
8989
- name: Update release to github
9090
shell: bash

scripts/distribution/nfpm-meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "databend-meta"
2-
arch: "${arch}"
2+
arch: "${deb_arch}"
33
platform: "linux"
4-
version: "${version}"
4+
version: "${deb_version}"
55
section: "database"
66
priority: "extra"
77
maintainer: "Databend Labs <[email protected]>"

scripts/distribution/nfpm-query-dbg.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "databend-query-dbg"
2-
arch: "${arch}"
2+
arch: "${deb_arch}"
33
platform: "linux"
4-
version: "${version}"
4+
version: "${deb_version}"
55
section: "database"
66
priority: "extra"
77
maintainer: "Databend Labs <[email protected]>"

scripts/distribution/nfpm-query.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "databend-query"
2-
arch: "${arch}"
2+
arch: "${deb_arch}"
33
platform: "linux"
4-
version: "${version}"
4+
version: "${deb_version}"
55
section: "database"
66
priority: "extra"
77
maintainer: "Databend Labs <[email protected]>"

0 commit comments

Comments
 (0)