From fb53ed6748840d96d840728695e91eb5d026ea94 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sun, 31 Dec 2017 19:30:31 -0600 Subject: [PATCH] fail build --- .drone.yml | 22 +++++++++++----------- README.md | 1 - app/main.go | 2 +- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0c15e906..7501a1a6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,14 +29,14 @@ pipeline: when: branch: master - # notify: - # image: drillster/drone-email - # host: 172.17.0.1 - # port: 25 - # username: umputun - # password: umputun - # skip_verify: true - # from: drone@umputun.com - # recipients: [ umputun@gmail.com ] - # when: - # status: [ changed, failure ] + notify: + image: drillster/drone-email + host: 172.17.0.1 + port: 25 + username: umputun + password: umputun + skip_verify: true + from: drone@umputun.com + recipients: [ umputun@gmail.com ] + when: + status: [ changed, failure ] diff --git a/README.md b/README.md index 071c7e01..29178c9d 100644 --- a/README.md +++ b/README.md @@ -111,4 +111,3 @@ Sort can be `time` or `score`. Supported sort order with prefix -/+, i.e. `-time - `GET /api/v1/admin/export?site=side-id&mode=[stream|file]` - export all comments to json stream or gz file. _auth and admin required_ - `POST /api/v1/admin/import?site=side-id` - import comments from the backup. _auth and admin required_ - `PUT /api/v1/admin/pin/{id}?site=site-id&url=post-url&pin=1` - pin or unpin comment. _auth and admin required_ - diff --git a/app/main.go b/app/main.go index 7a4857cc..9b7c8c1e 100644 --- a/app/main.go +++ b/app/main.go @@ -49,7 +49,7 @@ var opts struct { var revision = "unknown" -func main() { +func Xmain() { fmt.Printf("remark %s\n", revision) p := flags.NewParser(&opts, flags.Default) if _, e := p.ParseArgs(os.Args[1:]); e != nil {