Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Combine two actions in bundle.yaml #1058

@rjyounes

Description

@rjyounes

Combine

- action: "copy"
  message: "Copying documentation and patching local links."
  source: "{input}/docs"
  target: "{output}/Documentation"
  replace:
    from: "\\(./(\\w+)\\.md\\)"
    to: "(./\\g<1>.html)"
  includes:
    - "ReleaseNotes.md"
    - "MajorVersionMigration.md"
- action: "copy"
  message: "Copying namespace document to Documentation directory and patching local links."
  source: "{input}/docs/Namespace.md"
  target: "{output}/Documentation/Namespace.md"
  replace:
    from: "\\(./(\\w+)\\.md\\)"
    to: "(./\\g<1>.html)"

into

- action: "copy"
  message: "Copying documentation and patching local links."
  source: "{input}/docs"
  target: "{output}/Documentation"
  replace:
    from: "\\(./(\\w+)\\.md\\)"
    to: "(./\\g<1>.html)"
  includes:
    - "ReleaseNotes.md"
    - "MajorVersionMigration.md"
    - "Namespace.md"

Not sure why it was divided into two in the first place. Probably someone didn't notice they were identical.

Metadata

Metadata

Assignees

Labels

area: infrastructurestatus: fast trackA low impact change for which a PR can be submitted without group discussion

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions