versioning

This commit is contained in:
2025-04-01 20:55:12 +03:00
parent a73bf1fc53
commit 5f4a86cee8
5 changed files with 20 additions and 38 deletions

View File

@@ -3,6 +3,9 @@ FROM checks_parser_base_ubuntu
RUN DEBIAN_FRONTEND=noninteractive apt update
RUN DEBIAN_FRONTEND=noninteractive apt install -y wget git cmake make gcc g++ fuse libboost-regex-dev
ARG pkgname=$name
ARG pkgver=$version
ARG revision
WORKDIR /
@@ -23,4 +26,6 @@ RUN cp build/checks-parser /app/AppDir/usr/bin
RUN PATH=/usr/lib/qt5/bin/:$PATH linuxdeployqt --appimage-extract-and-run AppDir/usr/bin/checks-parser -no-copy-copyright-files -appimage
RUN mkdir -p /output
ENTRYPOINT ["cp", "Checks_parser-x86_64.AppImage", "/output"]
RUN echo "cp Checks_parser-x86_64.AppImage /output/Checks_parser-x86_64_${pkgver}-${revision}.AppImage" > /deploy.sh
RUN chmod +x /deploy.sh
ENTRYPOINT ["bash", "/deploy.sh"]