Commit graph

20 commits

Author SHA1 Message Date
Thomas Piskol
9729932bfb
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-05-02 20:43:58 -04:00
Loïc Albertin
cebd052c1e
Add release id to outputs (#60)
* Add release ID to outputs

* Update README
2021-05-01 18:56:49 -04: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
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
K.Takata
9f4852ebe6 Add tag_name option (#39)
Allow setting tag name like actions/create-release.
2020-01-09 01:06:19 -05:00
Doug Tangren
c66575c5e3
try ncc for packaging (#37)
* try ncc for packaging

* consistent

* newer checkout

* update dist

* update deps

* check style a different way
2020-01-05 18:00:23 -05:00
Christopher Sexton
723bed634e 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-18 10:09:12 -04:00
softprops
42a316b84f sync body_path fmt 2019-09-29 08:45:47 -04:00
softprops
a95bad53b2 add support for prereleases. fixes #17 2019-09-17 23:30:36 +09:00
softprops
77f9a4f575 update inputs.files.description 2019-09-17 23:16:32 +09:00
softprops
e5cba7ebb2 remove docker ref 2019-09-09 21:13:04 +09:00
softprops
d644a384fb document default release name 2019-09-09 20:17:51 +09:00
softprops
6ef3c4f0b3 defaults are not just for documentation 2019-09-09 20:14:41 +09:00
softprops
54832a3b39 top level env 2019-09-09 18:26:06 +09:00
softprops
d27570c9ab move env to top level 2019-09-09 17:36:46 +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
32614434e4 update meta 2019-08-26 00:21:21 -04:00
softprops
5e94a046b2 action metadata 2019-08-25 23:51:43 -04:00