mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
Fix broken links for downstream collection (#101)
* Fix broken links for downstream collection The links to the repo on Automation Hub are broken for the downstream collection. This skips the replacement step for galaxy.yml. * Add changelog fragment
This commit is contained in:
3
changelogs/fragments/100-fix-broken-links.yml
Normal file
3
changelogs/fragments/100-fix-broken-links.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- fix broken links in Automation Hub for redhat.openshift (https://github.com/openshift/community.okd/issues/100).
|
||||
@@ -46,7 +46,7 @@ f_text_sub()
|
||||
sed -i.bak "s/^version\:.*$/version: ${DOWNSTREAM_VERSION}/" "${_build_dir}/galaxy.yml"
|
||||
sed -i.bak "/STARTREMOVE/,/ENDREMOVE/d" "${_build_dir}/README.md"
|
||||
|
||||
find "${_build_dir}" -type f -exec sed -i.bak "s/community\.okd/redhat\.openshift/g" {} \;
|
||||
find "${_build_dir}" -type f ! -name galaxy.yml -exec sed -i.bak "s/community\.okd/redhat\.openshift/g" {} \;
|
||||
find "${_build_dir}" -type f -name "*.bak" -delete
|
||||
}
|
||||
|
||||
|
||||
@@ -9,12 +9,12 @@ dependencies:
|
||||
description: OKD Collection for Ansible.
|
||||
documentation: ''
|
||||
homepage: ''
|
||||
issues: https://github.com/ansible-collections/community.okd/issues
|
||||
issues: https://github.com/openshift/community.okd/issues
|
||||
license_file: LICENSE
|
||||
name: okd
|
||||
namespace: community
|
||||
readme: README.md
|
||||
repository: https://github.com/ansible-collections/community.okd
|
||||
repository: https://github.com/openshift/community.okd
|
||||
tags:
|
||||
- kubernetes
|
||||
- k8s
|
||||
|
||||
Reference in New Issue
Block a user