Skip to content

chore(ytdl-mpv): bump version to v0.6.0 #3

chore(ytdl-mpv): bump version to v0.6.0

chore(ytdl-mpv): bump version to v0.6.0 #3

Workflow file for this run

---
name: Releaser CD
"on":
push:
tags:
- "v[0-9].[0-9].[0-9]+"
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
- name: Generate changelog latest
uses: orhun/git-cliff-action@9158b314444bf7bcea182ed7d7935fc69366ce66
id: cliff
with:
config: cliff.toml
args: -vv --latest --strip header
- name: Get tag
shell: bash
run: |
echo "TAG=${GITHUB_REF:10}" >> "$GITHUB_ENV"
- name: Create release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
with:
name: ytdl-mpv ${{ env.TAG }}
body: ${{ steps.cliff.outputs.content }}
generate_release_notes: true
changelog:
name: Changelog
needs:
- release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout project
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
- name: Get tag
shell: bash
run: |
echo "TAG=${GITHUB_REF:10}" >> "$GITHUB_ENV"
- name: Refresh changelog
uses: orhun/git-cliff-action@9158b314444bf7bcea182ed7d7935fc69366ce66
with:
config: cliff.toml
args: --verbose --tag ${{ env.TAG }}
env:
OUTPUT: CHANGELOG.md
- name: Commit changelog
uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081
with:
message: "chore(CHANGELOG): add ytdl-mpv ${{ env.TAG }} changes"
add: 'CHANGELOG.md'
new_branch: master