Skip to content

Commit

Permalink
Merge pull request #63 from chef/jm/fix_regex
Browse files Browse the repository at this point in the history
Fix regex to match new readme formatting
  • Loading branch information
jonsmorrow authored Apr 6, 2018
2 parents 41f0ca9 + eccb722 commit 42db0c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .expeditor/update_readme_download_urls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ set -evx
mac_url=http://artifactory.chef.co/omnibus-unstable-local/com/getchef/chef-workstation/$(cat VERSION)/mac_os_x/10.13/chef-workstation-$(cat VERSION)-1.dmg
windows_url=http://artifactory.chef.co/omnibus-unstable-local/com/getchef/chef-workstation/$(cat VERSION)/windows/2016/chef-workstation-$(cat VERSION)-1-x64.msi

sed -i -r "s/(^ \* \[.*Mac\]\().*(\))/\1${mac_url//\//\\/}\2/" README.md
sed -i -r "s/(^ \* \[.*Windows\]\().*(\))/\1${windows_url//\//\\/}\2/" README.md
sed -i -r "s/(^ \* \[.*Mac\]\().*(\))/\1${mac_url//\//\\/}\2/" README.md
sed -i -r "s/(^ \* \[.*Windows\]\().*(\))/\1${windows_url//\//\\/}\2/" README.md

0 comments on commit 42db0c5

Please sign in to comment.