Skip to content

Commit cd388c0

Browse files
committed
fix wrong version name in blogs endpoint
1 parent dfd7698 commit cd388c0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/SwiftinitServer/Swiftinit.AnyEndpoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ extension Swiftinit.AnyEndpoint
127127
Swiftinit.Blog>>.init(
128128
output: parameters.explain ? nil : .text(.html),
129129
query: .init(
130-
volume: .init(package: "__swiftinit", version: "0.0.0"),
130+
volume: .init(package: "__swiftinit", version: "__max"),
131131
lookup: .init(path: ["Articles", trunk], hash: nil)),
132132
tag: parameters.tag))
133133
}

dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ RUN apt update && apt install -y \
1212
libjemalloc-dev \
1313
libcap2-bin
1414

15-
COPY .build/x86_64-unknown-linux-gnu/release/UnidocServer /bin/unidoc-server
16-
COPY .build/x86_64-unknown-linux-gnu/release/UnidocBuild /bin/unidoc-build
15+
COPY .build/x86_64-unknown-linux-gnu/release/SwiftinitServer /bin/swiftinit
16+
COPY .build/x86_64-unknown-linux-gnu/release/UnidocBuild /bin/unidoc
1717

18-
RUN chmod +x /bin/unidoc-server
19-
RUN chmod +x /bin/unidoc-build
18+
RUN chmod +x /bin/swiftinit
19+
RUN chmod +x /bin/unidoc
2020

2121
CMD swift --version

0 commit comments

Comments
 (0)