Skip to content

Commit 47f63b7

Browse files
committed
release v1.1.1 with updated dependencies and official Github release
1 parent 7a7091e commit 47f63b7

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.github/workflows/release-tag.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release Tag
2+
3+
on:
4+
push:
5+
tags: v*
6+
workflow_dispatch:
7+
8+
jobs:
9+
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set Variables
16+
run: echo "release_version=${GITHUB_REF_NAME/v/}" >> $GITHUB_ENV
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v2
20+
with:
21+
go-version: 1.17
22+
23+
- name: Build
24+
run: go build -v
25+
26+
- name: Test
27+
run: go test -v ./...
28+
29+
- name: Package Binary
30+
run: rsync prometheus-filter-proxy README.md LICENSE prometheus-filter-proxy-${{ env.release_version }}-linux-amd64 && tar cvjf prometheus-filter-proxy-${{ env.release_version }}-linux-amd64.tar.bz2 prometheus-filter-proxy-${{ env.release_version }}-linux-amd64
31+
32+
- name: Release
33+
uses: softprops/action-gh-release@8a65c813553f4d05769635eb1b70180d25b9b61b
34+
if: startsWith(github.ref, 'refs/tags/')
35+
with:
36+
files: |
37+
prometheus-filter-proxy-${{ env.release_version }}-linux-amd64.tar.bz2

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.1.1

0 commit comments

Comments
 (0)