Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/npalm/release-drafter-template
Convental / Semantic releasing based on PR
https://github.com/npalm/release-drafter-template
Last synced: 25 days ago
JSON representation
Convental / Semantic releasing based on PR
- Host: GitHub
- URL: https://github.com/npalm/release-drafter-template
- Owner: npalm
- Created: 2022-02-06T17:25:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T17:55:32.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T22:05:42.394Z (about 1 month ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Release Drafter template
> WIP
Repo to POC and template release automation based on PRs with wame principles as conventional commit but enforced on PR instead of commit.
## PR
- Lint PR for conventional commit message.
- PRs are squashed by default
- Auto labeling to calculate next release and create GitHub release notes## On default branch
- Update draft release
## Release
- Manually and time based triggers
- Only release when changes are detected
- For first release (or other cases).### Available outputs of template:
- `steps.release.outputs.upload_url` Assets upload url
- `steps.release.outputs.tag_name`: Tag / version
- `steps.version.outputs.major`: Major versionAdding assets to a release:
```yaml
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./my-artifact.zip
asset_name: my-artifact.zip
asset_content_type: application/zip
```