Skip to content

Commit 777684d

Browse files
authored
Merge pull request #317 from gabriel-stackhouse/auto-releases
Fix Auto Releases
2 parents 5b0f9e4 + 5a9c832 commit 777684d

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/main.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,13 @@ 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+
token: ${{ secrets.GITHUB_TOKEN }}
37+
tag_name: ${{ steps.tag.outputs.new_tag }}
38+
generate_release_notes: true
39+
prerelease: false
4140

4241
- name: version-tag-major
4342
env:

entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ matching_pre_tag_refs=$( (grep -E "$preTagFmt" <<< "$git_refs") || true)
104104
tag=$(head -n 1 <<< "$matching_tag_refs")
105105
pre_tag=$(head -n 1 <<< "$matching_pre_tag_refs")
106106

107-
# if there are none, start tags at INITIAL_VERSION
107+
# if there are none, start tags at initial version
108108
if [ -z "$tag" ]
109109
then
110110
if $with_v

0 commit comments

Comments
 (0)