-
Notifications
You must be signed in to change notification settings - Fork 17
40 lines (35 loc) · 940 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get changelog for release
id: changelog
uses: mindsers/changelog-reader-action@v2
with:
path: "CHANGELOG-1.X.md"
version: ${{ github.ref_name }}
- uses: azure/setup-helm@v3
with:
version: v3.10.1
- name : Create Helm-package
run: make helm-package
- name: Create Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
draft: true
prerelease: false
body: ${{ steps.changelog.outputs.changes }}
files: out-helm/*