mirror of
https://github.com/softprops/action-gh-release.git
synced 2024-08-17 00:00:39 +03:00
6.4 KiB
6.4 KiB
2.0.1 (unreleased)
- Add support for make_latest property #304 via @samueljseay
- Fail run if files setting contains invalid patterns #384 via @rpdelaney
- Add support for proxy env variables (don't use node-fetch) #386 via @timor-raiman
- Suppress confusing warning when input_files is empty #389 via @Drowze
2.0.0
2.0.0
!? this release corrects a disjunction between git tag versions used in the marketplace and versions list this file. Previous versions should have really been 1.*. Going forward this should be better aligned.- Upgrade action.yml declaration to node20 to address deprecations
0.1.15
- Upgrade to action.yml declaration to node16 to address deprecations
- Upgrade dependencies
- Add
asset
output as a JSON array containing information about the uploaded assets
0.1.14
- provides an new workflow input option
generate_release_notes
which when set to true will automatically generate release notes for you based on GitHub activity #179. Please see the GitHub docs for this feature for more information
0.1.13
- fix issue with multiple runs concatenating release bodies #145
0.1.12
- fix bug leading to empty strings subsituted for inputs users don't provide breaking api calls #144
0.1.11
- better error message on release create failed #143
0.1.10
- fixed error message formatting for file uploads
0.1.9
- add support for linking release to GitHub discussion #136
0.1.8
- address recent warnings in assert upload api as well as introduce asset upload overrides, allowing for multiple runs for the same release with the same named asserts #134
- fix backwards compatibility with
GITHUB_TOKEN
resolution.GITHUB_TOKEN
is no resolved first from an env varibale and then from and input #133 - trim white space in provided
tag_name
#130
0.1.7
- allow creating draft releases without a tag #95
- Set default token for simpler setup #83
- fix regression with action yml #126
0.1.6
This is a release catch up have a hiatus. Future releases will happen more frequently
- Add 'fail_on_unmatched_files' input, useful for catching cases were your
files
input does not actually match what you expect #55 - Add
repository
input, useful for creating a release in an external repository #61 - Add release
id
to outputs, useful for refering to release in workflow steps following the step that uses this action #60 - Add
upload_url
as action output, useful for managing uploads separately #75 - Support custom
target_commitish
value, useful to customize the default #76 - fix
body_path
input first then fall back onbody
input. this was the originally documented precedence but was implemened the the opposite order! #85 - Retain original release info if the keys are not set, useful for filling in blanks for a release you've already started separately #109
- Limit number of times github api request to create a release is retried, useful for avoiding eating up your rate limit and action minutes do to either an invalid token or other circumstance causing the api call to fail #111
0.1.5
- Added support for specifying tag name #39
0.1.4
- Added support for updating releases body #36
- Steps can now access the url of releases with the
url
output of this Action #28 - Added basic GitHub API retry support to manage API turbulance #26
0.1.3
- Fixed where
with: body_path
was not being used in generated GitHub releases
0.1.2
- Add support for merging draft releases #16
GitHub's api doesn't explicitly have a way of fetching a draft release by tag name which caused draft releases to appear as separate releases when used in a build matrix. This is now fixed.
- Add support for newline-delimited asset list #18
GitHub actions inputs don't inherently support lists of things and one might like to append a list of files to include in a release. Previously this was possible using a comma-delimited list of asset path patterns to upload. You can now provide these as a newline delimieted list for better readability
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
filea.txt
fileb.txt
filec.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- Add support for prerelease annotated GitHub releases with the new input field
with.prerelease: true
#19
0.1.1
- Add support for publishing releases on all supported virtual hosts
You'll need to remove docker://
prefix and use the @v1
action tag
0.1.0
- Initial release