Commit Graph

60 Commits

Author SHA1 Message Date
9f4852ebe6 Add tag_name option (#39)
Allow setting tag name like actions/create-release.
2020-01-09 01:06:19 -05:00
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
d651ef48cb Only catch github API error (#32)
* move assignements out of try block

* include compiled code
2019-12-10 08:49:37 -05:00
e234343e3e rebuild and fmt 2019-10-20 18:04:32 -04:00
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
2e7c800734 retry requests 2019-10-02 20:51:12 -04:00
ba42ad9139 honor body_path input when provided. fixes #22 2019-09-29 02:15:58 -04:00
a95bad53b2 add support for prereleases. fixes #17 2019-09-17 23:30:36 +09:00
3af8783d41 support multi-line delimited assets. fixes #15 2019-09-17 23:14:30 +09:00
916d072e3d declare interface impl 2019-09-17 19:33:38 +09:00
ca93e708e3 typo in type name 2019-09-17 19:27:32 +09:00
fcf37b79bd iterating over responses not releases 2019-09-17 18:04:39 +09:00
a31211f9ff debug what comes back from our iterator 2019-09-17 17:53:48 +09:00
f3c225f2b8 regenerate js, log on tag miss for debugging 2019-09-17 17:12:53 +09:00
9f9f2a3ed2 merge drafts workaround. fixes #14 2019-09-16 23:51:16 +09:00
bb78d54396 regenerate 2019-09-09 21:24:39 +09:00
ef96a2eb52 prettier 2019-09-09 21:20:59 +09:00
6fa875df0b error handling 2019-09-09 21:00:04 +09:00
e197e56931 try try try again 2019-09-09 20:46:36 +09:00
cf2aed3a12 debug logging 2019-09-09 20:36:51 +09:00
e48a25bf4e process import 2019-09-09 20:16:58 +09:00
7ab8811117 debug workflow 2019-09-09 18:42:19 +09:00
e60d11aee8 remove previous artifacts 2019-09-09 18:39:58 +09:00
d30d20cc01 remove outdated comment 2019-09-09 18:16:35 +09:00
b70b9666e8 remove fs import from main 2019-09-09 18:15:01 +09:00
2940cbc2ff dont import star 2019-09-09 18:14:17 +09:00
18daf2c63f refactor for cross platform use 2019-09-09 17:10:07 +09:00
2dfad92b71 add support for loading release body from a path. fixes: #2 2019-08-26 01:26:13 -04:00
7d73be4642 better test data 2019-08-26 00:43:16 -04:00
db0b38cbf5 error reporting 2019-08-26 00:40:00 -04:00
43b8a33025 spelling 2019-08-26 00:25:15 -04:00
96ebf47495 https 2019-08-26 00:22:09 -04:00
471be87ecf use RequestBuilder.query to manage url encoding 2019-08-25 23:40:13 -04:00
aa1c0dedfd test to validate asset url 2019-08-25 23:37:45 -04:00
c7f2407010 assets need names 2019-08-25 23:33:39 -04:00
d2478527cf Into idiom 2019-08-25 22:41:08 -04:00
4cac8612c9 log assumed mime 2019-08-25 22:35:32 -04:00
096011b403 Copy type doesn't require a clone 2019-08-25 22:20:15 -04:00
a19f8a1770 parametrize draft 2019-08-25 22:08:43 -04:00
1cddac2999 fix assets url 2019-08-25 22:01:15 -04:00
9003b6a3e7 print status of uploads 2019-08-25 21:59:02 -04:00
452a2ee738 debug name 2019-08-25 20:11:50 -04:00
7d18c51238 test env parsing 2019-08-25 19:45:44 -04:00
c7c4aa0f5a debug input_files 2019-08-25 19:21:50 -04:00
7bbc1bbc19 import mime::Mime 2019-08-25 18:38:07 -04:00
a3ee97eaed pass along input_name 2019-08-25 18:37:53 -04:00
0ec40de46f core ux 2019-08-25 15:28:44 -04:00
e97e13d758 improve ux 2019-08-25 15:14:16 -04:00
ac5a2b6ad0 remove debug 2019-08-25 15:13:44 -04:00