softprops
040bca2f2d
reintroduce octokit retry and throttling plugins
2021-12-05 23:19:25 -05:00
Naïm Favier
58fa4b7a88
Add assets
action output ( #185 )
2021-11-25 18:02:50 -05:00
Naïm Favier
b260a9f8a6
Follow symbolic links ( #186 )
2021-11-24 12:00:17 -05:00
Brian Surowiec
0465cdad11
Support auto generating release notes ( #179 )
2021-11-07 17:06:35 -05:00
Jakub Kozłowski
69a9b03fd9
Fix typo in message ( #168 )
2021-10-25 20:57:46 -04:00
Doug Tangren
a3f0173fb3
pick one body ( #145 )
2021-09-10 23:07:54 -04:00
Doug Tangren
730b76a669
make sure values not provided by users resolve to undefined ( #144 )
2021-08-09 23:57:43 -04:00
Doug Tangren
6ecde844e8
better error on release create failure ( #143 )
2021-08-09 09:26:48 -04:00
softprops
8b7a7c0162
stringify errors object
2021-08-08 12:12:34 -04:00
softprops
6c87482fb9
fix upload err fmt
2021-08-08 12:10:40 -04:00
Doug Tangren
2861dc8673
support linking to discussions ( #136 )
...
* support linking to discussions
* fmt
* wire param
2021-08-08 02:07:02 -04:00
Doug Tangren
003621c2ca
address asset upload warning ( #134 )
...
* bump version
* address asset upload warning
* refactor to new octokit api, work around release asset upload api
* format upload url
* unminify to debug
* try alt constructor
* utilize formatted upload url
* authorize upload
* pass token explicitly
* address conflicting uploads
* remove debugging artifacts
2021-08-08 00:28:01 -04:00
Doug Tangren
8779b820d9
backwards compat for GITHUB_TOKEN from env ( #133 )
...
* backwards compat for GITHUB_TOKEN from env
* update changelog
2021-07-30 18:41:53 -04:00
Tomer Figenblat
d2a05f5e5a
fix: trimming tag_name to avoid error 422 when creating release ( #130 )
2021-07-30 09:09:00 -04:00
softprops
fdb5f68261
fmt
2021-07-25 20:14:18 -04:00
Raz Halaly
350afcd40d
Update github.ts ( #111 )
2021-07-25 20:04:10 -04:00
Oli Dacombe
51ef4d3b15
first promise rejection propagates to outer catch
2021-07-25 19:54:22 -04:00
Daiki Mizukami
e314c6fe22
allow creating draft releases without a tag ( #95 )
...
Co-authored-by: Doug Tangren <d.tangren@gmail.com>
2021-07-25 19:53:57 -04:00
softprops
9f3b580ccc
lint fix and build
2021-07-25 19:53:56 -04:00
Filip Š
59b9126341
Retain original release info if the keys are not set ( #109 )
2021-07-25 19:53:56 -04:00
Raz Halaly
04c14f526b
Update github.ts ( #111 )
2021-07-25 19:53:56 -04:00
Thomas Piskol
2934fce629
Support custom target_commitish value ( #76 )
...
* Make target_commitish configurable
* Store compiled action for testing
* Add target_commitish to metadata
* Allow override of target_commitish for updating
* Print commit usage
* Improve message for commit usage
* Update draft releases too
* Revert "Update draft releases too"
This reverts commit ff30f8edb18fa851785a2d361b03c9713f5ac17d.
* Integrate latest changes from upstream.
2021-07-25 19:53:53 -04:00
Loïc Albertin
674bcd2d67
Add release id to outputs ( #60 )
...
* Add release ID to outputs
* Update README
2021-07-25 19:51:58 -04:00
Caleb Maclennan
05d11c9fe8
Merge remote-tracking branch 'upstream/master' into default-token
2021-03-21 10:14:08 +03:00
erri120
1f8f474abe
Add upload_url as action output ( #75 )
...
* Add upload_url as action output
* Update README
2021-03-21 01:59:32 -04:00
A1lo
dac15d39e4
fix: Get the same behavior described in Docs( #71 ) ( #85 )
...
Now trying read body path first then falling back on body
2021-03-21 01:52:16 -04:00
Caleb Maclennan
d5e4f508ae
Accept PAT as input and default to typically usable value
2021-03-16 07:50:02 +03:00
Alex Pearson
affa18ef97
Add repository input ( #58 ) ( #61 )
2020-12-20 14:44:30 -05:00
David Kramer
4fb86a77e0
Add 'fail_on_unmatched_files' input ( #55 )
2020-06-25 02:11:41 -04:00
Igor Davydenko
9439581056
fix: Update to latest throttling plugin ( #53 )
...
In attempt to fix unintentional retries on 422 error from GitHub,
1. Update to latest `@octokit/plugin-throttling` version
2. Depend on `@octokit/plugin-retry` plugin as well
Issue: #52
2020-05-24 20:39:23 -04:00
K.Takata
9f4852ebe6
Add tag_name option ( #39 )
...
Allow setting tag name like actions/create-release.
2020-01-09 01:06:19 -05:00
bomb-on
62eba970e0
Ability to update existing release body ( #36 )
...
* Ability to update existing release body
* Updated lib, fixed typo in workflow error message
2020-01-04 01:13:45 -05:00
纪阳
7a7960d4c7
Feat/upload ( #34 )
...
* feat: warn file invalid when upload
* build: update release shell
* update emoji
* build: compile main.js
2019-12-28 17:07:38 -05:00
Loïc Paulevé
d651ef48cb
Only catch github API error ( #32 )
...
* move assignements out of try block
* include compiled code
2019-12-10 08:49:37 -05:00
softprops
e234343e3e
rebuild and fmt
2019-10-20 18:04:32 -04:00
Christopher Sexton
1a522d88d8
Add the release HTML URL to outputs
...
This will allow subsequent actions to get access to the HTML URL for the
release created with this. Handy for composing multiple actions together
that are related to the release.
In my case I wanted to get the URL into a slack message posted to the
team when a release is published.
The output can be referenced by using the `steps.release.ouput.url` in
the workflow yaml:
- name: Release
id: release
uses: softprops/action-gh-release@v1
with:
name: "My Release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Slack
uses: csexton/slack-message-action@v1
with:
message: New release posted at ${{ steps.release.outputs.url}}
2019-10-20 17:50:51 -04:00
softprops
2e7c800734
retry requests
2019-10-02 20:51:12 -04:00
softprops
ba42ad9139
honor body_path input when provided. fixes #22
2019-09-29 02:15:58 -04:00
softprops
a95bad53b2
add support for prereleases. fixes #17
2019-09-17 23:30:36 +09:00
softprops
3af8783d41
support multi-line delimited assets. fixes #15
2019-09-17 23:14:30 +09:00
softprops
916d072e3d
declare interface impl
2019-09-17 19:33:38 +09:00
softprops
ca93e708e3
typo in type name
2019-09-17 19:27:32 +09:00
softprops
fcf37b79bd
iterating over responses not releases
2019-09-17 18:04:39 +09:00
softprops
a31211f9ff
debug what comes back from our iterator
2019-09-17 17:53:48 +09:00
softprops
f3c225f2b8
regenerate js, log on tag miss for debugging
2019-09-17 17:12:53 +09:00
softprops
9f9f2a3ed2
merge drafts workaround. fixes #14
2019-09-16 23:51:16 +09:00
softprops
bb78d54396
regenerate
2019-09-09 21:24:39 +09:00
softprops
ef96a2eb52
prettier
2019-09-09 21:20:59 +09:00
softprops
6fa875df0b
error handling
2019-09-09 21:00:04 +09:00
softprops
e197e56931
try try try again
2019-09-09 20:46:36 +09:00