Skip to content

Commit

Permalink
Make .release dir before copying info.json into that dir (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
rock88 authored Jul 1, 2024
1 parent f20908b commit c675f5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ printf "Got it: $version\n"

confirm "\nContinue?"

rm -rf .release
mkdir .release

cat scripts/Version.swift.template | sed s/__VERSION__/${version}/ > Sources/Frontend/Version.swift
cat scripts/Periphery.podspec.template | sed s/__VERSION__/${version}/ > Periphery.podspec
cat scripts/artifactbundle_info.json.template | sed s/__VERSION__/${version}/ > .release/info.json
Expand All @@ -45,8 +48,6 @@ confirm "Continue?"
bin_path=$(make show_bin_path)
rm -rf "$bin_path"
make build_release
rm -rf .release
mkdir .release
cp "$bin_path" .release/
cp LICENSE.md .release/
cp scripts/release_notes.md.template .release/release_notes.md
Expand Down

0 comments on commit c675f5d

Please sign in to comment.