Skip to content

Commit 1d4924d

Browse files
committed
Add GitHub actions to release on push
1 parent 427c537 commit 1d4924d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/hack.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release for Terraform registry
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release-on-push:
10+
runs-on: ubuntu-latest
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
steps:
14+
- id: release
15+
uses: rymndhng/release-on-push-action@master
16+
with:
17+
bump_version_scheme: patch
18+
- name: Check Output Parameters
19+
run: |
20+
echo "Got tag name ${{ steps.release.outputs.tag_name }}"
21+
echo "Got release version ${{ steps.release.outputs.version }}"

0 commit comments

Comments
 (0)