Skip to content

Commit

Permalink
remove version from package name
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Jan 19, 2024
1 parent a4bc0ba commit 922f226
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- run: eslint app tests/*.mjs
- run: sudo snap install yq
- run: ./build.sh
- run: sudo dpkg -i ./dist/linux/x86_64/vdhcoapp-*-linux-x86_64.deb
- run: sudo dpkg -i ./dist/linux/x86_64/vdhcoapp-linux-x86_64.deb
- run: ./tests/test.mjs /opt/vdhcoapp/vdhcoapp --with-network
38 changes: 19 additions & 19 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,20 +187,20 @@ fi

if [ $publish == 1 ]; then
files=(
"dist/linux/i686/$package_binary_name-$meta_version-linux-i686.tar.bz2"
"dist/linux/i686/$package_binary_name-$meta_version-linux-i686.deb"
"dist/linux/x86_64/$package_binary_name-$meta_version-linux-x86_64.tar.bz2"
"dist/linux/x86_64/$package_binary_name-$meta_version-linux-x86_64.deb"
"dist/linux/aarch64/$package_binary_name-$meta_version-linux-aarch64.tar.bz2"
"dist/linux/aarch64/$package_binary_name-$meta_version-linux-aarch64.deb"
"dist/mac/x86_64/$package_binary_name-$meta_version-mac-x86_64.dmg"
"dist/mac/x86_64/$package_binary_name-$meta_version-mac-x86_64-installer.pkg"
"dist/mac/arm64/$package_binary_name-$meta_version-mac-arm64.dmg"
"dist/mac/arm64/$package_binary_name-$meta_version-mac-arm64-installer.pkg"
"dist/win7/i686/$package_binary_name-$meta_version-win7-i686-installer.exe"
"dist/win7/x86_64/$package_binary_name-$meta_version-win7-x86_64-installer.exe"
"dist/windows/i686/$package_binary_name-$meta_version-windows-i686-installer.exe"
"dist/windows/x86_64/$package_binary_name-$meta_version-windows-x86_64-installer.exe"
"dist/linux/i686/$package_binary_name-linux-i686.tar.bz2"
"dist/linux/i686/$package_binary_name-linux-i686.deb"
"dist/linux/x86_64/$package_binary_name-linux-x86_64.tar.bz2"
"dist/linux/x86_64/$package_binary_name-linux-x86_64.deb"
"dist/linux/aarch64/$package_binary_name-linux-aarch64.tar.bz2"
"dist/linux/aarch64/$package_binary_name-linux-aarch64.deb"
"dist/mac/x86_64/$package_binary_name-mac-x86_64.dmg"
"dist/mac/x86_64/$package_binary_name-mac-x86_64-installer.pkg"
"dist/mac/arm64/$package_binary_name-mac-arm64.dmg"
"dist/mac/arm64/$package_binary_name-mac-arm64-installer.pkg"
"dist/win7/i686/$package_binary_name-win7-i686-installer.exe"
"dist/win7/x86_64/$package_binary_name-win7-x86_64-installer.exe"
"dist/windows/i686/$package_binary_name-windows-i686-installer.exe"
"dist/windows/x86_64/$package_binary_name-windows-x86_64-installer.exe"
)

checksums=dist/checksums_v${meta_version}.json
Expand Down Expand Up @@ -272,11 +272,11 @@ yq . -o yaml ./config.toml | \
yq e ".target.node = \"$target_node\"" -o json \
> $target_dist_dir/config.json

out_deb_file="$package_binary_name-$meta_version-$target.deb"
out_bz2_file="$package_binary_name-$meta_version-$target.tar.bz2"
out_pkg_file="$package_binary_name-$meta_version-$target-installer.pkg"
out_dmg_file="$package_binary_name-$meta_version-$target.dmg"
out_win_file="$package_binary_name-$meta_version-$target-installer.exe"
out_deb_file="$package_binary_name-$target.deb"
out_bz2_file="$package_binary_name-$target.tar.bz2"
out_pkg_file="$package_binary_name-$target-installer.pkg"
out_dmg_file="$package_binary_name-$target.dmg"
out_win_file="$package_binary_name-$target-installer.exe"

if [ ! $skip_bundling == 1 ]; then
# This could be done by pkg directly, but esbuild is more tweakable.
Expand Down

0 comments on commit 922f226

Please sign in to comment.