Skip to content

Commit

Permalink
Replaced broken sed command (on macs) with ed alternative.
Browse files Browse the repository at this point in the history
  • Loading branch information
plascaray committed Sep 6, 2024
1 parent ca5a6a8 commit 78b5077
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,14 @@ update-rsc-versions:
sed {{ sed_vars }} -E "s/[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}/`just _get-clean-version {{ RSC_VERSION }}`/g" \
connect/README.md \
connect-content-init/README.md
sed -i '/variable CONNECT_VERSION/!b;n;c\ \ \ \ default = "{{ RSC_VERSION }}"' docker-bake.hcl
ed -s docker-bake.hcl <<EOF
/variable CONNECT_VERSION/
+1c
default = "{{ RSC_VERSION }}"
.
w
q
EOF
# just R_VERSION=3.2.1 R_VERSION_ALT=4.1.0 update-r-versions
update-r-versions: update-default-r-versions
Expand Down

0 comments on commit 78b5077

Please sign in to comment.