Skip to content

Commit

Permalink
Fix release script to work on a blank destination repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mjambon committed Sep 19, 2024
1 parent 639df49 commit 2fbc90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/release
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ make -C "$lang" GEN_OCAML_OPTIONS="$GEN_OCAML_OPTIONS" gen
dst="$export_dir"/"$repo"
if [[ -d "$lang"/ocaml-src ]]; then
# Make sure obsolete files are removed from the release repo
git -C "$dst" rm -rf lib bin
git -C "$dst" rm -rf --ignore-unmatch lib bin

cp -a "$lang"/ocaml-src/lib "$dst"
cp -a "$lang"/ocaml-src/bin "$dst"
Expand Down

0 comments on commit 2fbc90c

Please sign in to comment.