Skip to content

Commit

Permalink
Merge pull request #115 from github/elhmn-automate-relase-asset-upload
Browse files Browse the repository at this point in the history
Generate automatic draft release
  • Loading branch information
elhmn authored Nov 10, 2023
2 parents 9640559 + b171275 commit 8452791
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Release

on:
push:
tags:
- "v*"

permissions:
contents: write

jobs:
lint:
name: Release
runs-on: ubuntu-latest
steps:
- name: Setup
uses:
actions/setup-go@v4
with:
go-version: 1.21

- name: Checkout
uses: actions/checkout@v4

- name: Build releases
run: |
make releases VERSION=$GITHUB_REF_NAME
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: |
releases/git-sizer-*

0 comments on commit 8452791

Please sign in to comment.