summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-08-21 13:53:29 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-08-21 13:53:29 +0900
commit53df6990203ece5d69a4367cf593cf053e48a7d7 (patch)
tree1b84a9a92ef95c51e3b65b1b21203fd278ffbbe1 /.github
parent82f6a7c6995b12d765acf08e08106925a7d9846f (diff)
release automation by github actions
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..739f20af
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,23 @@
+name: release
+
+on:
+ create:
+ tags:
+ - v*.*.*
+
+jobs:
+ build:
+ runs-on: ubuntu-16.04
+
+ steps:
+ - name: checking out
+ uses: actions/checkout@master
+
+ - name: releasing
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ wget https://github.com/goreleaser/goreleaser/releases/download/v0.108.0/goreleaser_amd64.deb
+ sudo dpkg -i goreleaser_amd64.deb
+ rm goreleaser_amd64.deb
+ cd /home/runner/work/gobgp/gobgp && goreleaser release