Skip to content

Commit

Permalink
Bundle lib_InternalSwiftSyntaxParser.dylib in the release archive. (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ileitch authored Apr 18, 2020
1 parent 8028a20 commit 45dc00e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
##### Bug Fixes

- Fix --exclude option for scan-syntax.
- Bundle lib_InternalSwiftSyntaxParser.dylib in the release archive.

## 1.7.0 (2020-04-17)

Expand Down
7 changes: 5 additions & 2 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ bold () {
printf "${BOLD}${1}${NC}"
}

printf "Version: "
xcodebuild -version

printf "\nVersion: "
read version
printf "Got it: $version\n"

Expand All @@ -45,12 +47,13 @@ rm -rf .build/release/periphery
make build_release
rm -rf .release
mkdir .release
cp "$(xcode-select -p)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/lib_InternalSwiftSyntaxParser.dylib" .release
cp .build/release/periphery .release/
cp LICENSE.md .release/
cp scripts/release_notes.md.template .release/release_notes.md

cd .release
zip periphery-v${version}.zip periphery LICENSE.md
zip periphery-v${version}.zip periphery LICENSE.md lib_InternalSwiftSyntaxParser.dylib
code --wait release_notes.md
echo -e "${version}\n\n$(cat release_notes.md)" > release_notes.md
echo
Expand Down

0 comments on commit 45dc00e

Please sign in to comment.