Skip to content

chore(ytdl-mpv): bump version to v0.7.0 #4

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

chore(ytdl-mpv): bump version to v0.7.0 #4

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@9bb56186c3b09b4f86b1c65136769dd318469633
with:
fetch-depth: 0
- name: Generate changelog latest
uses: orhun/git-cliff-action@8b17108aad4d9362649a5dae020746c2a767c90d
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@9d7c94cfd0a1f3ed45544c887983e9fa900f0564
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@9bb56186c3b09b4f86b1c65136769dd318469633
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@8b17108aad4d9362649a5dae020746c2a767c90d
with:
config: cliff.toml
args: --verbose --tag ${{ env.TAG }}
env:
OUTPUT: CHANGELOG.md
- name: Commit changelog
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5
with:
message: "chore(CHANGELOG): add ytdl-mpv ${{ env.TAG }} changes"
add: 'CHANGELOG.md'
new_branch: master