Skip to content

Commit

Permalink
Update to 0.11.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstegeman committed Jun 1, 2020
1 parent ed189e7 commit 13bac6b
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python application
name: Build

on:
pull_request:
Expand All @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Lint source
uses: DoozyX/[email protected]
with:
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:11})
- name: Package project
run: |
mkdir webthing-arduino
cp -rL CODE_OF_CONDUCT.md *.h LICENSE README.md library.* docs/ examples/ webthing-arduino/
zip -r webthing-arduino.zip webthing-arduino/
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ env.RELEASE_VERSION }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: webthing-arduino.zip
asset_name: webthing-arduino.zip
asset_content_type: application/zip
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "webthing-arduino",
"description": "A library for creating Web Things using the Web of Things API. Runs on ESP8266, ESP32, Ethernet, and WiFi101-compatible boards. Compatible with the Mozilla WebThings Gateway.",
"keywords": "Communication",
"version": "0.11.3",
"version": "0.11.4",
"authors": {
"name": "Mozilla IoT <[email protected]>"
},
Expand Down
3 changes: 2 additions & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name=webthing-arduino
version=0.11.3
version=0.11.4
author=Mozilla IoT <[email protected]>
maintainer=James Hobin <[email protected]>
sentence=A library for creating Web Things using the Web of Things API
paragraph=Runs on ESP8266, ESP32, Ethernet, and WiFi101-compatible boards. Compatible with the Mozilla WebThings Gateway.
category=Communication
url=https://github.com/mozilla-iot/webthing-arduino
depends=ArduinoJson

0 comments on commit 13bac6b

Please sign in to comment.