Skip to content

Add support for macOS sed in normalize-links.sh script

Achilleas Pipinellis requested to merge axil-sed-macos-support into main

Taken from https://gitlab.com/gitlab-com/www-gitlab-com/-/blob/fb699d5eea768da6bf8bdea6626c57ab67160465/scripts/docs_ee_check.sh#L3-9

Related issues

#1584 (closed)

Test

  1. Check out the branch.

  2. Remove public and rebuild the site:

    make clean && RAILS_ENV=production make compile
  3. Rename public to a version:

    cp -a public 15.10
  4. Run the script:

    scripts/normalize-links.sh . 15.10
  5. Optionally. Check that it worked as expected:

    diff public 15.10
Edited by Achilleas Pipinellis

Merge request reports