mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 00:22:10 +03:00
Update installation.md when releasing
This commit is contained in:
parent
176e83e83c
commit
ec1e0a1012
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -237,14 +237,14 @@ jobs:
|
||||
run: |
|
||||
./bin/update_crates.sh
|
||||
|
||||
- name: Update packages manuals
|
||||
- name: Update installation doc
|
||||
run: |
|
||||
# TODO: create a dedicated check script
|
||||
#version_doc="docs/installation.md"
|
||||
#old_version=$(grep "sudo dpkg -i" "${version_doc}" | cut --delimiter "_" --field 2 )
|
||||
#echo "old_version=${old_version}"
|
||||
#sed -i "s/${old_version}/${{ needs.set-context.outputs.release_version }}/g" "${version_doc}"
|
||||
# grep "${{ needs.set-context.outputs.release_version }}" "${version_doc}"
|
||||
version_doc="docs/installation.md"
|
||||
old_version=$(grep "apt install" "${version_doc}" | grep "hurl" | cut --delimiter '/' --field 2- | cut --delimiter '_' --field 2)
|
||||
echo "old_version=${old_version}"
|
||||
sed -i "s/${old_version}/${{ needs.set-context.outputs.release_version }}/g" "${version_doc}"
|
||||
grep "${{ needs.set-context.outputs.release_version }}" "${version_doc}"
|
||||
|
||||
- name: Update man
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user