-
Notifications
You must be signed in to change notification settings - Fork 71
Labels
kind: bugkind: infrastructureCI, build tools, development toolsCI, build tools, development toolspriority: high
Milestone
Description
Related user(s):
Related issue(s) or PR(s):
Related project scope(s):
No response
Bug description:
Run cd artifacts
cd artifacts
mkdir -v target
dist=(linux darwin)
artifact() { printf "learn-ocaml-%s-x86_64.tar.gz" "$d"; }
for d in "${dist[@]}"; do
mkdir -v -- "$d"
( cd "$d" && tar xvzf "../$(artifact "$d")/$(artifact "$d")" )
bin=(./learn-ocaml-client ./learn-ocaml-server ./learn-ocaml)
for b in "${bin[@]}"; do
mv -v -- "$d/$b" "target/$b-$d-x86_64"
done
done
mv -v -- learn-ocaml-www.zip target/learn-ocaml-www.zip
shell: /usr/bin/bash -e {0}
mkdir: created directory 'target'
mkdir: created directory 'linux'
tar (child): ../learn-ocaml-linux-x86_64.tar.gz/learn-ocaml-linux-x86_64.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Error: Process completed with exit code 2.
To reproduce:
- Merge a release-please PR.
Expected behavior:
- the static binaries and
*www.zipare properly added as release artifacts
learn-ocaml --version
1.0.0
git describe --long --always --abbrev=40 --tags
No response
What OS do you use?
GNU/Linux
What OS version/distribution do you use?
Debian
What browser(s) do you use with learn-ocaml?
No response
What browser(s) version did you used to reproduce the issue?
No response
Screenshots (if need be):
No response
Additional context:
Manually fixed using:
wget -r -w 1 https://ocaml-sf.org/learn-ocaml/artifacts/
gh auth login
gh release -R ocaml-sf/learn-ocaml upload "v1.0.0" $(find artifacts_to_publish -type f -printf "%p ")
Metadata
Metadata
Assignees
Labels
kind: bugkind: infrastructureCI, build tools, development toolsCI, build tools, development toolspriority: high