remove VERSION from package file names

This change enables downloading latest packages from URL
https://github.com/upa/mscp/releases/latest/download/PACKAGE
This commit is contained in:
Ryo Nakamura
2023-03-12 23:01:06 +09:00
parent e2da5811ce
commit 6e17d0ddbc
3 changed files with 12 additions and 14 deletions

View File

@@ -24,8 +24,7 @@ RUN cd ${mscpdir} \
-DBUILD_CONAN=ON -DBUILD_STATIC=ON \
&& make \
&& cp mscp /usr/bin/ \
&& cp mscp /mscp/build/mscp_$(cat ${mscpdir}/VERSION)-alpine-3.17-x86_64.static \
&& cp mscp /mscp/build/mscp.linux.x86.static
&& cp mscp /mscp/build/mscp_alpine-3.17-x86_64.static
# copy mscp to PKG FILE NAME because this build doesn't use CPACK