Skip to content

Commit

Permalink
Merge pull request #317 from gabriel-stackhouse/auto-releases
Browse files Browse the repository at this point in the history
Fix Auto Releases
  • Loading branch information
anothrNick authored Jul 8, 2024
2 parents 5b0f9e4 + 5a9c832 commit 777684d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_API_TAGGING: false # uses git cli

# auto releases is not working atm and is deleting releases due branch tags
- name: automatic-draft-release
uses: marvinpinto/action-automatic-releases@v1.2.1
- name: automatic-release
uses: softprops/action-gh-release@v2.0.0
with:
draft: true
repo_token: ${{ secrets.GITHUB_TOKEN }}
title: "${{ steps.tag.outputs.tag }}: [title-edit-me] by:${{ github.actor }}"
automatic_release_tag: ${{ steps.tag.outputs.new_tag }}
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.tag.outputs.new_tag }}
generate_release_notes: true
prerelease: false

- name: version-tag-major
env:
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ matching_pre_tag_refs=$( (grep -E "$preTagFmt" <<< "$git_refs") || true)
tag=$(head -n 1 <<< "$matching_tag_refs")
pre_tag=$(head -n 1 <<< "$matching_pre_tag_refs")

# if there are none, start tags at INITIAL_VERSION
# if there are none, start tags at initial version
if [ -z "$tag" ]
then
if $with_v
Expand Down

0 comments on commit 777684d

Please sign in to comment.