Skip to content

Commit

Permalink
Fix release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabobko committed Oct 13, 2024
1 parent e3936aa commit e71cc7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion script/build-brew-cask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ fi

manpages=$(unzip -l "$zip_file" | \
grep --only-matching 'manpage/aerospace.*' | \
while read -r it; do echo " manpage \"$zip_root_dir/$it\""; done)
while read -r it; do echo " manpage \"$zip_root_dir/$it\""; done | \
sort)

rm -f ".release/$cask_name.rb" || true
mkdir -p .release
Expand Down
4 changes: 2 additions & 2 deletions script/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ read -r
--build-version "$build_version"

eval "$cask_git_repo_path/pin.sh"
cp .release/aerospace.rb "$cask_git_repo_path/Casks/aerospace.rb"
cp -r .release/aerospace.rb "$cask_git_repo_path/Casks/aerospace.rb"

rm -rf "${site_git_repo_path:?}/*" # https://www.shellcheck.net/wiki/SC2115
cp .site/* "$site_git_repo_path"
cp -r .site/* "$site_git_repo_path"

0 comments on commit e71cc7e

Please sign in to comment.