mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
25 lines
577 B
YAML
25 lines
577 B
YAML
name: "Docs Version Update"
|
|
|
|
on:
|
|
create:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
bump-version-in-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
name: checkout repo
|
|
with:
|
|
ref: "refs/heads/master"
|
|
|
|
- run: sed -i "s|^\\(git clone.*--branch \\).*$|\\1v$(cat version.txt)|" docs/guide/getting-started.md
|
|
name: replace version in docs
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
name: commit docs version update
|
|
with:
|
|
commit_message: "docs: update version in install instructions"
|