Commit graph

167 commits

Author SHA1 Message Date
softprops
0a19cfc696 rebuild 2021-07-25 19:11:35 -04:00
softprops
b1829982df update changelog 2021-07-25 19:10:56 -04:00
Daiki Mizukami
688f58f697
allow creating draft releases without a tag (#95)
Co-authored-by: Doug Tangren <d.tangren@gmail.com>
2021-07-25 19:10:03 -04:00
softprops
08e53e60c8 update changelog 2021-07-25 19:02:03 -04:00
softprops
bb2c91bef9 rebuild 2021-07-25 19:00:48 -04:00
Doug Tangren
e020468dd2
release prep for 0.1.6 (#120) 2021-07-25 18:58:47 -04:00
softprops
5e3f23f92c lint fix and build 2021-07-17 19:37:16 -04:00
Filip Š
104b6490a7
Retain original release info if the keys are not set (#109) 2021-07-17 19:27:42 -04:00
Raz Halaly
a544ba8d92
Update github.ts (#111) 2021-07-17 19:24:12 -04:00
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
Maximilian Federle
35d938cf01
rebuild dist/index.js (#93)
Fixes #92
2021-04-09 00:46:38 -04:00
takmr
e99df7cd80
use spaces instead tab (#87) 2021-03-22 13:05:06 -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
David Aronchick
94651eb27f
Update README.md (#81) 2021-03-21 01:59:06 -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
Alex Pearson
affa18ef97
Add repository input (#58) (#61) 2020-12-20 14:44:30 -05:00
pastdue
2cf5c66450
[Security] Bump node-fetch from 2.6.0 to 2.6.1 (#66)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-04 13:18:49 -05:00
pastdue
aabd85678e
[Security] Bump @actions/core from 1.2.0 to 1.2.6 (#68)
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.0 to 1.2.6. **This update includes a security fix.**
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-04 13:17:46 -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
Yan Yi Goh
9a89d1e63f
Docs: Fix spelling mistakes (#50)
* README: Fix spelling mistakes

* README: Rename OSX to macOS

* CONTRIBUTING: Fix spelling mistakes
2020-04-11 23:43:21 -04:00
softprops
91409e712c rebuild index 2020-01-26 19:36:03 -05:00
softprops
b238fd05b1 consolidate
consolidate changelog notes
2020-01-26 19:34:13 -05:00
softprops
a0dc82a74f add belated release note for 0.1.5 2020-01-26 19:31:05 -05:00
K.Takata
924757492e Make "npm run fmt(check)" work on Windows (#41)
On Windows, single quotes cannot be used for quoting command line.
Use double quotes instead.
2020-01-12 16:48:37 -05:00
K.Takata
9993ae8534 Fix mistake in #39 (#40)
It should be `github.ref` or `GITHUB_REF`.
2020-01-09 18:32:41 -05: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
softprops
b7e450da2a update readme 2020-01-05 18:05:29 -05:00
softprops
6195d81339 bump version 2020-01-05 18:04:21 -05:00
softprops
2803ccaf23 updated changelog 2020-01-05 18:03:54 -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
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
Doug Tangren
37ae175992
Merge pull request #31 from skyfrk/patch-1
chore: remove note about github action beta
2019-11-14 16:53:30 -05:00
Simon Eßlinger
d31b44251d
chore: remove note about github action beta
As of 2019-11-13 GitHub Actions are out of beta!
See: https://github.blog/2019-11-13-universe-day-one/#github-actions
2019-11-14 18:54:21 +01:00
Doug Tangren
0e414c630a
Merge pull request #29 from softprops/0-1-4-release-prep
release prep
2019-10-20 19:13:36 -04:00
softprops
9a2319ecaf release prep 2019-10-20 18:15:51 -04:00
Doug Tangren
7363c39621
Merge pull request #26 from softprops/retry-api
retry api requests
2019-10-20 18:11:01 -04:00
softprops
742de9953a rebuild 2019-10-20 18:09:27 -04:00
softprops
e234343e3e rebuild and fmt 2019-10-20 18:04:32 -04:00
softprops
c99850e5d1 back to minimal set 2019-10-20 18:03:30 -04:00
softprops
845942e04a setup integration test 2019-10-20 17:50:51 -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
Doug Tangren
56b4c8a8ef
Merge pull request #28 from csexton/output-url
Add the release HTML URL to outputs
2019-10-18 10:15:52 -04: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
2e7c800734 retry requests 2019-10-02 20:51:12 -04:00
softprops
6247f9299a update readme 2019-09-29 08:51:03 -04:00
softprops
5d578441a6 update changelog 2019-09-29 08:46:18 -04:00