forked from eyra/port
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release script to build all platforms individually
- Loading branch information
Showing
5 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# release all individual platforms | ||
script_location = ./src/framework/processing/py/port/script.py | ||
# build release all individual platforms | ||
|
||
all_platforms='platforms = \[ ("LinkedIn", extract_linkedin, linkedin.validate), ("Insta' | ||
all_platforms_commented_out='#platforms = \[ ("LinkedIn", extract_linkedin, linkedin.validate), ("Insta' | ||
script_location='./src/framework/processing/py/port/script.py' | ||
single_platform='platforms = \[ ("' | ||
single_platform_commented_out='#platforms = \[ ("' | ||
|
||
# comment out all platforms in sequence | ||
sed -i "s/$all_platforms/$all_platforms_commented_out/g" $script_location | ||
|
||
platforms=("LinkedIn" "Instagram" "Chrome" "Facebook" "Youtube" "TikTok" "Twitter") | ||
platforms=("LinkedIn") | ||
|
||
for platform in "${platforms[@]}"; do | ||
sed -i "s/$single_platform_commented_out$platform/$single_platform$platform/g" $script_location | ||
PLATFORM=$platform npm run release_platform | ||
git restore $script_location | ||
done |
Binary file modified
BIN
-7 Bytes
(100%)
src/framework/processing/py/dist/port-0.0.0-py3-none-any.whl
Binary file not shown.