Skip to content

Commit 679a4f7

Browse files
Update release.yml
1 parent f5e4ccd commit 679a4f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Terraform Provider release workflow.
22
name: Release
33

4-
# This GitHub action creates a release when a new release is publised with a new tag
4+
# This GitHub action creates a release when a tag that matches the pattern
5+
# "v*" (e.g. v0.1.0) is created.
56
on:
6-
release:
7-
types: [published]
7+
push:
8+
tags:
9+
- 'v*'
810

911
# Releases need permissions to read and write the repository contents.
1012
# GitHub considers creating releases and uploading assets as writing contents.

0 commit comments

Comments
 (0)