Skip to content

Commit fc8e020

Browse files
authored
Merge pull request #57 from TraGicCode/refactor-automated-release-process-fix-7
Refactor automated release process fix round 7
2 parents 57e261d + 4f9b85f commit fc8e020

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/docker_build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Build and Publish Docker Image
22

33
on:
4-
push:
5-
tags:
6-
- 'v*'
4+
release:
5+
types: [published]
76

87
permissions:
98
id-token: write

.github/workflows/dotnet_tool_build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Build and Publish .NET Tool
22

33
on:
4-
push:
5-
tags:
6-
- 'v*'
4+
release:
5+
types: [published]
76

87
jobs:
98
build-and-pack:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
env:
4242
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343

44+
# This creates a tag but doesn't trigger a "push event of the tag" FYI
4445
- name: Create GitHub Release
4546
id: create_release
4647
uses: actions/create-release@v1

0 commit comments

Comments
 (0)