Skip to content

Commit 48e79ce

Browse files
Test if Auto Releases Workflow Works (#1)
* Add a working automated release action to the main workflow * Use the correct ID
1 parent afe4b67 commit 48e79ce

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,15 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
GIT_API_TAGGING: false # uses git cli
3232

33-
# auto releases is not working atm and is deleting releases due branch tags
34-
- name: automatic-draft-release
35-
uses: marvinpinto/[email protected]
33+
- name: automatic-release
34+
uses: softprops/[email protected]
3635
with:
37-
draft: true
38-
repo_token: ${{ secrets.GITHUB_TOKEN }}
39-
title: "${{ steps.tag.outputs.tag }}: [title-edit-me] by:${{ github.actor }}"
40-
automatic_release_tag: ${{ steps.tag.outputs.new_tag }}
36+
# draft: true # Can uncomment this if you want to keep it a draft, but I find it more useful to auto-publish the release on each PR merge.
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
# name: "${{ steps.tag.outputs.tag }}: [title-edit-me] by:${{ github.actor }}" # Uncomment if you go the draft route, otherwise it defaults to the tag name (i.e. 1.67.0)
39+
tag_name: ${{ steps.tag.outputs.new_tag }}
40+
generate_release_notes: true
41+
prerelease: false
4142

4243
- name: version-tag-major
4344
env:

0 commit comments

Comments
 (0)