@@ 0,0 1,18 @@
+image: alpine/edge
+packages:
+ - go
+ - mercurial
+sources:
+ - hg+https://hg.sr.ht/~ser/kbplug
+secrets:
+ - 45926939-38b0-4e7f-bfa5-1a5b5786a773
+tasks:
+ - build: |
+ cd kbplug
+ VERSION=`hg log -r tip --template '{bookmarks}'`
+ BUILDDATE=`date +%Y-%m-%dT%H%M%S`
+ GOOS=linux go build -ldflags "-X main.Version=${VERSION} -X main.BuildDate=${BUILDDATE}" -v -o kbplug_${VERSION} .
+ - upload: |
+ cd kbplug
+ VERSION=`hg log -r tip --template '{bookmarks}'`
+ curl --netrc-file ~/.downloads -T kbplug_${VERSION} https://downloads.ser1.net/files/
@@ 41,7 41,7 @@ The `-d` debug flag can be useful for te
## Installation
-kbplug is `go get`table:
+**kbplug** is `go get`table:
```
go get code.ser1.net/kbplug
@@ 51,5 51,5 @@ Or, you can [download a binary](https://
## Credits
-- `kbplug` is made possible by [go-udev](https://github.com/pilebones/go-udev). There are no other direct dependencies.
+- **kbplug** is made possible by [go-udev](https://github.com/pilebones/go-udev). There are no other direct dependencies.
- Thanks, as always, to the wonderful Go creators and maintainers.