Skip to content

Commit

Permalink
Stop including web mode binaries in releases
Browse files Browse the repository at this point in the history
  • Loading branch information
thevindu-w committed Apr 22, 2024
1 parent 8d610a3 commit b35c804
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.arch
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY ./xclip/*.c ./xclip/*.h xclip/
COPY ./xscreenshot/*.c ./xscreenshot/*.h xscreenshot/

# Build
RUN make clean && make all
RUN make clean && make

COPY --chmod=755 ./docker/release/copy_release.sh ./

Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY ./xclip/*.c ./xclip/*.h xclip/
COPY ./xscreenshot/*.c ./xscreenshot/*.h xscreenshot/

# Build
RUN make clean && make all
RUN make clean && make

COPY --chmod=755 ./docker/release/copy_release.sh ./

Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.ubuntu18
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY ./xclip/*.c ./xclip/*.h xclip/
COPY ./xscreenshot/*.c ./xscreenshot/*.h xscreenshot/

# Build
RUN make clean && make all
RUN make clean && make

COPY --chmod=755 ./docker/release/copy_release.sh ./

Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.ubuntu20
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY ./xclip/*.c ./xclip/*.h xclip/
COPY ./xscreenshot/*.c ./xscreenshot/*.h xscreenshot/

# Build
RUN make clean && make all
RUN make clean && make

COPY --chmod=755 ./docker/release/copy_release.sh ./

Expand Down
2 changes: 1 addition & 1 deletion docker/release/Dockerfile.ubuntu22
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY ./xclip/*.c ./xclip/*.h xclip/
COPY ./xscreenshot/*.c ./xscreenshot/*.h xscreenshot/

# Build
RUN make clean && make all
RUN make clean && make

COPY --chmod=755 ./docker/release/copy_release.sh ./

Expand Down
1 change: 0 additions & 1 deletion docker/release/copy_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ glibc_version=$(echo -n "${ldd_head##* }" | grep -oE '[0-9]+\.[0-9]+' | head -n
libssl_version="$(ldd clip_share | grep -oE 'libssl\.so\.[0-9]+' | head -n 1 | cut -d '.' -f 3)"

mv -n clip_share "dist/clip_share_GLIBC-${glibc_version}_libssl-${libssl_version}" || echo 'Not replacing'
mv -n clip_share_web "dist/clip_share_web_GLIBC-${glibc_version}_libssl-${libssl_version}" || echo 'Not replacing'

0 comments on commit b35c804

Please sign in to comment.