-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nc] iterate on publish release notes
Signed-off-by: Nic Cheneweth <[email protected]>
- Loading branch information
1 parent
197c142
commit d23db18
Showing
2 changed files
with
22 additions
and
22 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 |
---|---|---|
|
@@ -142,7 +142,7 @@ on: | |
description: path to file containing release message body | ||
required: false | ||
type: string | ||
default: "" | ||
default: "release-notes.md" | ||
|
||
release-artifacts: | ||
description: path to artifacts to include in release | ||
|
@@ -290,26 +290,26 @@ jobs: | |
registry: ${{ inputs.registry}} | ||
sbom-filename: ${{ inputs.sbom-filename }} | ||
|
||
# - name: Publish Release | ||
# if: ${{ inputs.release-notes == 'true' }} | ||
# uses: actions/create-release@v1 | ||
# id: create_release | ||
# env: | ||
# GITHUB_TOKEN: ${{ github.token }} | ||
# with: | ||
# draft: false | ||
# prerelease: false | ||
# release_name: ${{ inputs.tag-annotation }}${{ inputs.version-tag }} | ||
# tag_name: ${{ inputs.version-tag }} | ||
# body_path: ${{ inputs.release-body-path }} | ||
|
||
# - name: Upload release binaries | ||
# if: ${{ inputs.release-artifacts != 'false' }} | ||
# uses: alexellis/[email protected] | ||
# env: | ||
# GITHUB_TOKEN: ${{ github.token }} | ||
# with: | ||
# asset_paths: ${{ inputs.release-artifacats }} | ||
- name: Publish Release | ||
if: ${{ inputs.release-notes == 'true' }} | ||
uses: actions/create-release@v1 | ||
id: create_release | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
draft: false | ||
prerelease: false | ||
release_name: ${{ inputs.tag-annotation }}${{ inputs.version-tag }} | ||
tag_name: ${{ inputs.version-tag }} | ||
body_path: ${{ inputs.release-body-path }} | ||
|
||
- name: Upload release binaries | ||
if: ${{ inputs.release-artifacts != 'false' }} | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
asset_paths: ${{ inputs.release-artifacats }} | ||
|
||
# - name: publish semantic release version from tag | ||
# if: ${{ inputs.release-notes == 'true' }} | ||
|
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