Skip to content

Commit 081f4ac

Browse files
chore: adding development release build
starts to publish a development release out of main branch.
1 parent 3b981e8 commit 081f4ac

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/release-dev.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
goreleaser:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v4
22+
with:
23+
go-version: "1.20"
24+
25+
- name: Build
26+
run: make build
27+
28+
- name: Compress binary
29+
run: tar -C bin -czvf helmbin.tar.gz helmbin
30+
31+
- name: publish release
32+
uses: marvinpinto/action-automatic-releases@latest
33+
with:
34+
automatic_release_tag: latest
35+
repo_token: ${{ secrets.GITHUB_TOKEN }}
36+
prerelease: true
37+
title: Development Release Build
38+
files: |
39+
*.tgz
File renamed without changes.

0 commit comments

Comments
 (0)