Skip to content

Commit 3dc6305

Browse files
author
Colin Viebrock
committed
forget manual releases
1 parent 8d0a1a1 commit 3dc6305

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
name: Create Release
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
version:
7-
description: 'Version of the release (x.x.x)'
8-
required: true
9-
release_notes:
10-
description: 'Any release notes'
11-
required: false
4+
push:
5+
tags:
6+
- '*'
127

138
jobs:
149
build:
@@ -19,24 +14,16 @@ jobs:
1914
uses: actions/checkout@v2
2015
- name: Build Assets
2116
run: ./build.sh
22-
- name: Bump version and push tag
23-
id: tag_version
24-
uses: mathieudutour/[email protected]
25-
with:
26-
github_token: ${{ secrets.GITHUB_TOKEN }}
27-
custom_tag: ${{ github.event.inputs.version }}
28-
tag_prefix: ''
2917
- name: Create Release
3018
id: create_release
3119
uses: actions/create-release@v1
3220
env:
3321
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3422
with:
35-
tag_name: ${{ github.event.inputs.version }}
36-
release_name: Release ${{ github.event.inputs.version }}
23+
tag_name: ${{ github.ref }}
24+
release_name: Release ${{ github.ref }}
3725
draft: false
3826
prerelease: false
39-
body: ${{ github.event.inputs.release_notes }}
4027
- name: Upload Assets
4128
id: upload-assets
4229
uses: alexellis/[email protected]

0 commit comments

Comments
 (0)