Skip to content

Commit

Permalink
build(bump): simplify publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopaulovieira committed Nov 19, 2020
1 parent 58583f6 commit 7315cd4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bump
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

PROJECT_NAME='clappr'
CDN_PATH="npm/$PROJECT_NAME@latest/dist/$PROJECT_NAME.min.js"
CDN_PATH="npm/@clappr/player@latest/dist/clappr.min.js"

update_dependencies() {
echo 'updating dependencies' &&
Expand All @@ -15,9 +14,9 @@ update_version() {
}

build() {
echo "building $PROJECT_NAME.js" &&
echo "building clappr.js" &&
yarn build &&
echo "building $PROJECT_NAME.min.js" &&
echo "building clappr.min.js" &&
yarn release
}

Expand Down

0 comments on commit 7315cd4

Please sign in to comment.