Skip to content

Commit

Permalink
Draft a release on a tag being pushed (#2804)
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kemp <me@martinke.mp>

Signed-off-by: Martin Kemp <me@martinke.mp>
  • Loading branch information
MartiUK committed Dec 21, 2022
1 parent 8b3f38a commit dc2bc9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -8,6 +8,8 @@ name: Build Cmder
on:
push:
branches: [ "master" ]
tags:
- "v*"
pull_request:
branches: [ "master" ]

Expand Down Expand Up @@ -72,3 +74,15 @@ jobs:
with:
path: build/hashes.txt
name: hashes.txt

- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
build/cmder.zip
build/cmder.7z
build/cmder_mini.zip
build/hashes.txt
draft: true
generate_release_notes: true
if: startsWith(github.ref, 'refs/tags/')

0 comments on commit dc2bc9b

Please sign in to comment.