Skip to content

Commit

Permalink
Removed spurious files in the Particle library
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Dec 4, 2018
1 parent 04286f3 commit 0bc03e8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
ArduinoJson: change log
=======================

HEAD
----

* Removed spurious files in the Particle library

v5.13.3
-------

Expand Down
18 changes: 18 additions & 0 deletions scripts/publish-particle-library.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash

set -eu

SOURCE_DIR="$(dirname "$0")/.."
WORK_DIR=$(mktemp -d)
trap 'rm -rf "$WORK_DIR"' EXIT

cp "$SOURCE_DIR/README.md" "$WORK_DIR/README.md"
cp "$SOURCE_DIR/CHANGELOG.md" "$WORK_DIR/CHANGELOG.md"
cp "$SOURCE_DIR/library.properties" "$WORK_DIR/library.properties"
cp "$SOURCE_DIR/LICENSE.md" "$WORK_DIR/LICENSE.txt"
cp -r "$SOURCE_DIR/src" "$WORK_DIR/"
cp -r "$SOURCE_DIR/examples" "$WORK_DIR/"

cd "$WORK_DIR"
particle library upload
particle library publish

0 comments on commit 0bc03e8

Please sign in to comment.