]> source.dussan.org Git - gitea.git/commit
fix artifact merging chunks path with correct slash on Windows (#26400)
authorFuXiaoHei <fuxiaohei@vip.qq.com>
Tue, 8 Aug 2023 17:21:48 +0000 (01:21 +0800)
committerGitHub <noreply@github.com>
Tue, 8 Aug 2023 17:21:48 +0000 (17:21 +0000)
commitad69f7175af3dc6974df6ad22f22833c284456df
treeff7012734a05265593971a6d95e21e2187eed0bf
parente6f8e9318b1984d3e735bff0d2eca4a22906973d
fix artifact merging chunks path with correct slash on Windows (#26400)

From Discord
https://discord.com/channels/322538954119184384/1069795723178160168/1136719889684500480

Artifact chunks merging is break on Windows.

```
Gitea Log:
2023/08/03 20:51:15 ...actions/artifacts.go:271:comfirmUploadArtifact() [E] Error merge chunks: parse content range error: input does not match format
```

Artifact uses wrong slash to parse saved chunks path.
routers/api/actions/artifacts_chunks.go