Skip to content

Commit c88ff8a

Browse files
release => debug
1 parent c782438 commit c88ff8a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ RUN swift package resolve
2727
COPY . .
2828
RUN swift build -c release --static-swift-stdlib
2929

30-
RUN cd Resources/branch_release-5.9 && swift build -c release --static-swift-stdlib
31-
RUN cd Resources/branch_main && swift build -c release --static-swift-stdlib
30+
RUN cd Resources/branch_release-5.9 && swift build -c debug --static-swift-stdlib
31+
RUN cd Resources/branch_main && swift build -c debug --static-swift-stdlib
3232

3333
WORKDIR /staging
3434

35-
RUN cp "$(swift build --package-path /build -c debug --show-bin-path)/App" ./
35+
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/App" ./
3636

37-
RUN find -L "$(swift build --package-path /build -c debug --show-bin-path)/" -regex '.*\.resources$' -exec cp -Ra {} ./ \;
37+
RUN find -L "$(swift build --package-path /build -c release --show-bin-path)/" -regex '.*\.resources$' -exec cp -Ra {} ./ \;
3838

3939
RUN [ -d /build/Public ] && { mv /build/Public ./Public && chmod -R a-w ./Public; } || true
4040
RUN [ -d /build/Resources ] && { mv /build/Resources ./Resources && chmod -R a-w ./Resources; } || true

0 commit comments

Comments
 (0)