Skip to content

Commit

Permalink
Publish web-types with proper schema reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrtomiak committed Sep 27, 2019
1 parent a9cbfd0 commit 3c5d52d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ function publishVersion() {
sed -i "" "s/\%PACKAGE_NAME\%/$PACKAGE_NAME/g" package.json || exit 1
sed -i "" "s/\%PACKAGE_VERSION_FULL\%/$FULL_VER/g" package.json || exit 1

sed -i "" "s/\.\.\/\.\.\/schema\/web-types\.json/https:\/\/raw\.githubusercontent\.com\/JetBrains\/web-types\/master\/schema\/web-types\.json/g" "$PACKAGE_NAME".web-types.json || exit 1

sed -i "" "s/\%PACKAGE_NAME\%/$PACKAGE_NAME/g" README.MD || exit 1

# Check for errors before publishing
Expand Down

0 comments on commit 3c5d52d

Please sign in to comment.