46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
prepare:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Provide lowercase changelog compatibility
|
|
run: |
|
|
set -euo pipefail
|
|
if [[ -f CHANGELOG.md && ! -e changelog.md ]]; then
|
|
ln -s CHANGELOG.md changelog.md
|
|
fi
|
|
|
|
- name: Vociferate prepare
|
|
uses: https://git.hrafn.xyz/aether/vociferate/prepare@v1.1.0
|
|
|
|
publish:
|
|
needs: prepare
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Provide lowercase changelog compatibility
|
|
run: |
|
|
set -euo pipefail
|
|
if [[ -f CHANGELOG.md && ! -e changelog.md ]]; then
|
|
ln -s CHANGELOG.md changelog.md
|
|
fi
|
|
|
|
- name: Vociferate publish
|
|
uses: https://git.hrafn.xyz/aether/vociferate/publish@v1.1.0 |