Commit Graph

108 Commits

Author SHA1 Message Date
纪阳 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
softprops cf2aed3a12 debug logging 2019-09-09 20:36:51 +09:00
softprops e48a25bf4e process import 2019-09-09 20:16:58 +09:00
softprops 7ab8811117 debug workflow 2019-09-09 18:42:19 +09:00
softprops e60d11aee8 remove previous artifacts 2019-09-09 18:39:58 +09:00
softprops d30d20cc01 remove outdated comment 2019-09-09 18:16:35 +09:00
softprops b70b9666e8 remove fs import from main 2019-09-09 18:15:01 +09:00
softprops 2940cbc2ff dont import star 2019-09-09 18:14:17 +09:00
softprops 18daf2c63f refactor for cross platform use 2019-09-09 17:10:07 +09:00
softprops 2dfad92b71 add support for loading release body from a path. fixes: #2 2019-08-26 01:26:13 -04:00
softprops 7d73be4642 better test data 2019-08-26 00:43:16 -04:00
softprops db0b38cbf5 error reporting 2019-08-26 00:40:00 -04:00
softprops 43b8a33025 spelling 2019-08-26 00:25:15 -04:00
softprops 96ebf47495 https 2019-08-26 00:22:09 -04:00
softprops 471be87ecf use RequestBuilder.query to manage url encoding 2019-08-25 23:40:13 -04:00
softprops aa1c0dedfd test to validate asset url 2019-08-25 23:37:45 -04:00
softprops c7f2407010 assets need names 2019-08-25 23:33:39 -04:00
softprops d2478527cf Into idiom 2019-08-25 22:41:08 -04:00
softprops 4cac8612c9 log assumed mime 2019-08-25 22:35:32 -04:00
softprops 096011b403 Copy type doesn't require a clone 2019-08-25 22:20:15 -04:00
softprops a19f8a1770 parametrize draft 2019-08-25 22:08:43 -04:00
softprops 1cddac2999 fix assets url 2019-08-25 22:01:15 -04:00
softprops 9003b6a3e7 print status of uploads 2019-08-25 21:59:02 -04:00
softprops 452a2ee738 debug name 2019-08-25 20:11:50 -04:00
softprops 7d18c51238 test env parsing 2019-08-25 19:45:44 -04:00
softprops c7c4aa0f5a debug input_files 2019-08-25 19:21:50 -04:00
softprops 7bbc1bbc19 import mime::Mime 2019-08-25 18:38:07 -04:00
softprops a3ee97eaed pass along input_name 2019-08-25 18:37:53 -04:00
softprops 0ec40de46f core ux 2019-08-25 15:28:44 -04:00
softprops e97e13d758 improve ux 2019-08-25 15:14:16 -04:00
softprops ac5a2b6ad0 remove debug 2019-08-25 15:13:44 -04:00
softprops 3567b41e45 extract, test and fix path selection to only include files 2019-08-25 15:13:13 -04:00
softprops 061d1abd40 strip prefix in release name 2019-08-25 14:48:05 -04:00