mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
30 lines
861 B
YAML
30 lines
861 B
YAML
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main, dev]
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
name: Create Release
|
|
|
|
jobs:
|
|
release-please:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: release-please-oss/release-please-action@v5.0.0
|
|
if: github.ref == 'refs/heads/main'
|
|
id: release-main
|
|
with:
|
|
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
config-file: release/release-please-config.json
|
|
manifest-file: release/.release-please-manifest.json
|
|
- uses: release-please-oss/release-please-action@v5.0.0
|
|
if: github.ref == 'refs/heads/dev'
|
|
id: release-dev
|
|
with:
|
|
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
|
|
config-file: release/release-please-config-prerelease.json
|
|
manifest-file: release/.release-please-dev-prerelease-manifest.json
|