Skip to content

chore(ytdl-mpv): bump version to v0.7.1 #5

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

chore(ytdl-mpv): bump version to v0.7.1 #5

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@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
- name: Generate changelog latest
uses: orhun/git-cliff-action@4a4a951bc43fafe41cd2348d181853f52356bee7
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@7b4da11513bf3f43f9999e90eabced41ab8bb048
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@11bd71901bbe5b1630ceea73d27597364c9af683
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@4a4a951bc43fafe41cd2348d181853f52356bee7
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