Skip to content

Commit

Permalink
feat: Publish sdk to GH Actions Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarek-kindred committed Oct 5, 2023
1 parent 78792d9 commit 6a77437
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/cohort_sdk_js/scripts/bundle-talos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# - Copies all talos sources into TARGET_DIR (default to dist/talos)
# - Modifies Cargo.toml workspace file to include only packages/*.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

CURRENT_DIR=$(pwd)
TARGET_DIR=dist/talos
rm -r $TARGET_DIR || true
mkdir -p $TARGET_DIR/packages/cohort_sdk_js
Expand Down Expand Up @@ -50,4 +52,10 @@ rm -rf $TARGET_DIR=dist/talos/target
rm cohort_sdk_js.darwin-x64.node

echo "Current content is:"
ls -lah

cp ./index.js ./index.d.ts ./package.json "$CURRENT_DIR/"
cd $CURRENT_DIR

echo "Current content of $CURRENT_DIR is:"
ls -lah

0 comments on commit 6a77437

Please sign in to comment.