Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsegal/github-release-from-changelog-action
Creates a GitHub release from a CHANGELOG file
https://github.com/lsegal/github-release-from-changelog-action
Last synced: 2 months ago
JSON representation
Creates a GitHub release from a CHANGELOG file
- Host: GitHub
- URL: https://github.com/lsegal/github-release-from-changelog-action
- Owner: lsegal
- License: mit
- Created: 2020-12-28T01:35:35.000Z (about 4 years ago)
- Default Branch: latest
- Last Pushed: 2020-12-28T07:08:23.000Z (about 4 years ago)
- Last Synced: 2024-05-02T05:33:31.596Z (8 months ago)
- Language: Ruby
- Size: 9.77 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Release from Changelog Action
Action to create a GitHub release from a CHANGELOG file.
**NOTE**: This action requires `GITHUB_TOKEN` exported to the environment. See
below for an example.## Inputs
### `tag`
**Optional** The tag to use for the release. Omit if triggering from a tag event.
### `filename`
**Optional** The changelog filename. Default searches across a range of
common changelog filenames.## Outputs
### `release_url`
The GitHub release URL.
### `tag`
The tag used to create the release.
## Example usage
**NOTE**: Remember to add `GITHUB_TOKEN` via environment.
```yaml
on:
push:
tags:
- "v*"
---
jobs:
release_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate GitHub Release
uses: lsegal/github-release-from-changelog-action@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```