Compare commits
5 Commits
94dc6a37b9
...
810431d82b
Author | SHA1 | Date | |
---|---|---|---|
810431d82b | |||
118a8912f6 | |||
f78c9d961c | |||
ae78cb2358 | |||
7d89f6b945 |
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: clone
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git clone https://gitea.watsonlabs.net/watsonb8/homebridge-harmony-control.git .
|
||||||
|
- git checkout $DRONE_COMMIT
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: node
|
||||||
|
commands:
|
||||||
|
- npm publish
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge-harmony-control",
|
"name": "homebridge-harmony-control",
|
||||||
"version": "1.0.7",
|
"version": "1.1.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "homebridge-harmony-control",
|
"name": "homebridge-harmony-control",
|
||||||
"version": "1.0.7",
|
"version": "1.1.0",
|
||||||
"description": "Homebridge platform to control smart home equipment by room.",
|
"description": "Homebridge platform to control smart home equipment by room.",
|
||||||
"main": "bin/index.js",
|
"main": "bin/index.js",
|
||||||
|
"publishConfig": {
|
||||||
|
"registry": "http://10.22.1.31:4873/"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --build",
|
"build": "tsc --build",
|
||||||
"prepublishOnly": "npm run build"
|
"prepublishOnly": "npm run build"
|
||||||
|
Reference in New Issue
Block a user