https://github.com/boywithkeyboard-archive/publisher
An opinionated, production-ready release manager.
https://github.com/boywithkeyboard-archive/publisher
github-action github-actions javascript publisher publisher-action typescript
Last synced: 3 months ago
JSON representation
An opinionated, production-ready release manager.
- Host: GitHub
- URL: https://github.com/boywithkeyboard-archive/publisher
- Owner: boywithkeyboard-archive
- License: apache-2.0
- Created: 2023-07-12T22:55:53.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-23T13:43:57.000Z (about 1 year ago)
- Last Synced: 2025-06-18T01:44:06.888Z (4 months ago)
- Topics: github-action, github-actions, javascript, publisher, publisher-action, typescript
- Language: JavaScript
- Homepage:
- Size: 1.78 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license
Awesome Lists containing this project
README
### Usage
1. Make sure you have a `changelog.md` or `CHANGELOG.md` file in the root directory of your repository that is similar to this one:
```
## [v1.1.0](https://github.com/user/repository/releases/tag/v1.1.0)Some release notes.
## [v1.0.0](https://github.com/user/repository/releases/tag/v1.0.0)
Some more release notes.
```2. Create a new workflow file with the following content:
```yml
name: publishon:
push:
tags:
- v*jobs:
publish:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v4- name: Publish Release
uses: boywithkeyboard/publisher@v3
```3. To trigger the workflow, simply push a new tag.
### Configuration
- `tag` _(`context.ref` by default)_
The tag name for the new release.
- `draft` _(`false` by default)_
Create the new release as a draft.
- `prerelease` _(`false` by default)_
Create the new release as a pre-release.
- `token` _(`$GITHUB_TOKEN` by default)_
The access token to use for creating the new release.