Allow removal for old releases
See original GitHub issueHi! I am looking to setup nightly releases for rust-analyzer, and for that I want to publish a github release every night under the same tag. IE, I want the tag itself to move. Looks like at the moment actions-gh-release silently fails in this case:
Release
1s
(node:2749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
Run softprops/action-gh-release@v1
⬆️ Uploading rust-analyzer-linux...
⬆️ Uploading rust-analyzer-windows.exe...
⬆️ Uploading rust-analyzer-mac...
⬆️ Uploading rust-analyzer.vsix...
🎉 Release ready at https://github.com/matklad/rust-analyzer/releases/tag/2020-03-04
(node:2749) UnhandledPromiseRejectionWarning: HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
at /home/runner/work/_actions/softprops/action-gh-release/v1/dist/index.js:1:273881
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2749) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2749) UnhandledPromiseRejectionWarning: HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
at /home/runner/work/_actions/softprops/action-gh-release/v1/dist/index.js:1:273881
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:2749) UnhandledPromiseRejectionWarning: HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
at /home/runner/work/_actions/softprops/action-gh-release/v1/dist/index.js:1:273881
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:2749) UnhandledPromiseRejectionWarning: HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"already_exists","field":"name"}
at /home/runner/work/_actions/softprops/action-gh-release/v1/dist/index.js:1:273881
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(node:2749) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
Failing by default is probably the right behavior, but it would be cool if the action had an overwrite: boolean
flag to control this behavior
Issue Analytics
- State:
- Created 4 years ago
- Reactions:14
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How to install software or upgrade from an old unsupported ...
To get apt-get working again, change your software sources to the old release repositories. sudo nano /etc/apt/sources.list. delete whatever is in there, and ......
Read more >Unable to delete old releases using Capistrano - Stack Overflow
This fixed some permission denied issues I was having on project that no longer was deleting releases.
Read more >Delete your previous version of Windows - Microsoft Support
Delete your previous version of Windows · Press the Windows logo key on your keyboard, then select Settings > System > Storage. Open...
Read more >Removing history of releases for an environment to clean up ...
a would allow the releases to be kept, and just hide the info from the dashboard, while b would allow you to slowly...
Read more >Can I delete releases from Nexus after they have been ...
If you decide that you do want to remove old releases Nexus makes this ... This scheduled task allows you to trigger the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@softprops What do you think about this feature? I would love to have an overwrite option!
For me it would also be good to have an overwrite feature