Skip to content

Commit 8452791

Browse files
authored
Merge pull request #115 from github/elhmn-automate-relase-asset-upload
Generate automatic draft release
2 parents 9640559 + b171275 commit 8452791

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
lint:
13+
name: Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Setup
17+
uses:
18+
actions/setup-go@v4
19+
with:
20+
go-version: 1.21
21+
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Build releases
26+
run: |
27+
make releases VERSION=$GITHUB_REF_NAME
28+
29+
- name: Release
30+
uses: softprops/action-gh-release@v1
31+
with:
32+
draft: true
33+
files: |
34+
releases/git-sizer-*

0 commit comments

Comments
 (0)