Skip to content

Commit

Permalink
chore(ci): fix sed script on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefcipa committed Nov 14, 2024
1 parent e97b54a commit 2330780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ build:
# This should only run in the CI pipeline to set latest version before release
git_tag=$(shell git describe --tags --abbrev=0)
update-assets-version:
sed -i '' "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/404.html
sed -i '' "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/502.html
sed -i '' "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/index.html
sed -i "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/404.html
sed -i "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/502.html
sed -i "s/%RELEASE_VERSION%/$(git_tag)/g" ./assets/nginx/html/index.html

0 comments on commit 2330780

Please # to comment.