diff --git a/README.md b/README.md index fbf8048..7854fd8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ A Chrome extension to edit multiple Strava activities at once. +The extension adds a title to the activity filter panel, and an update panel +below the activity panel. It will go through all filtered activities and +update then one by one. + ![screenshot](src/images/screenshot-1280x800-google-chrome-1.png) ## Official Releases @@ -11,8 +15,6 @@ A Chrome extension to edit multiple Strava activities at once. ## Usage Visit the [My Activities page on Strava.com](https://www.strava.com/athlete/training). -The extension will add an update panel below the activity filters. It will also -add a title to the filter panel. Use the filters to select the activities you want to edit. Choose the privacy setting to apply to the selected activities. Click the "Update activities" diff --git a/scripts/build.sh b/scripts/build.sh index 14920f9..92bac40 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -9,13 +9,16 @@ cd "$(cd -P -- "$(dirname -- "$0")" && pwd -P)/.." || exit 1 if [ ! -d build ]; then log "Create a build directory" - mkdir build + mkdir build || exit 1 else log "Empty the build directory" - rm -r build/* + rm -r build/* || exit 1 fi +log "Go to extension dir" +cd src/extension || exit 1 + log "Create an archive to release" -zip -r -j "build/strava-bulk-edit-$(date +'%Y-%m-%d-%H-%M-%S').zip" src/extension +zip -r "../../build/strava-bulk-edit-$(date +'%Y-%m-%d-%H-%M-%S').zip" . || exit 1 log "========= End of build ========="