Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
build(sdk): add build step after semantic does it's thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Schenk committed Feb 1, 2020
1 parent dad443c commit 30d8357
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/monorepo-scripts/aws/aws-bundle-deploy.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#!/bin/bash

PACKAGES_TO_DEPLOY='extension,sdk'
PACKAGES_TO_DEPLOY='extension,sdk';

yarn build:prod;

CWD_PATH=$(pwd);
BUILD_PATH="$CWD_PATH/build"
PACKAGE_NAME=$(echo $CWD_PATH | rev | cut -d'/' -f1 | rev)
BUILD_PATH="$CWD_PATH/build";
PACKAGE_NAME=$(echo $CWD_PATH | rev | cut -d'/' -f1 | rev);

if [[ $PACKAGES_TO_DEPLOY == *$PACKAGE_NAME* ]]; then
VERSION=$1;
Expand All @@ -20,4 +22,4 @@ if [[ $PACKAGES_TO_DEPLOY == *$PACKAGE_NAME* ]]; then

fi

exit 0
exit 0;

0 comments on commit 30d8357

Please sign in to comment.