summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPhilipp Tanlak <philipp.tanlak@gmail.com>2023-10-15 18:52:27 +0200
committerPhilipp Tanlak <philipp.tanlak@gmail.com>2023-10-15 18:52:27 +0200
commit36846200df6e53723149b5f23ae78913290f6f8d (patch)
tree16643a1ae1caf769503887126f7aab4df9937a1b /.github
parent21c3539e183102c4c861e0eb3d2e5044336f57b2 (diff)
Create release pipelinev0.2.1
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
new file mode 100644
index 0000000..3b95fba
--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,32 @@
+name: Release
+
+on:
+ push:
+ tags:
+ - "*"
+
+permissions:
+ contents: write
+
+jobs:
+ release:
+ name: Release
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+
+ - run: git fetch --force --tags
+
+ - uses: actions/setup-go@v4
+ with:
+ go-version: "1.21.3"
+
+ - uses: goreleaser/goreleaser-action@v5
+ with:
+ distribution: goreleaser
+ version: latest
+ args: release --clean
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}