-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a working automated release action to the main workflow
- Loading branch information
1 parent
afe4b67
commit fce3da2
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,14 +30,15 @@ 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/[email protected] | ||
- name: automatic-release | ||
uses: softprops/[email protected] | ||
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 }} | ||
# 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. | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
# 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) | ||
tag_name: ${{ steps.tag_version.outputs.new_tag }} | ||
generate_release_notes: true | ||
prerelease: false | ||
|
||
- name: version-tag-major | ||
env: | ||
|