Skip to content

Commit

Permalink
Remove 'bin' prefix for focus binary since it messed up MDE
Browse files Browse the repository at this point in the history
  • Loading branch information
bierbaum committed May 31, 2022
1 parent 5fb6c4a commit ea6b87e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/publish-to-mde.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ target_tarball=$(mktemp -t "focus.$focus_rev.$os.$arch.tgz")
scripts/mac-build.sh || die "Build failed"
test -f target/release/$focus_binary || die "The build succeeded, but produced no binary"
rm -rf target/package
mkdir -p target/package/focus/bin
echo $focus_rev > target/package/focus/bin/FOCUS_VERSION
cp target/release/$focus_binary target/package/focus/bin/focus
mkdir -p target/package/focus
echo $focus_rev > target/package/focus/FOCUS_VERSION
cp target/release/$focus_binary target/package/focus/focus
tar czf $target_tarball -C target/package focus || die "Creating release tarball $target_tarball failed"

pushd $mde_repo
Expand Down

0 comments on commit ea6b87e

Please sign in to comment.