Skip to content

Commit

Permalink
Add update_explorer_version to release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ffakenz committed Jun 3, 2024
1 parent 7dbe543 commit 503ffca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ prepare_release() {
update_api_version "$version"
update_demo_version "$version"
update_tutorial_version "$version"
update_explorer_version "$version"

find . -name '*-e' -exec rm '{}' \; # cleanup BSD sed mess

Expand Down Expand Up @@ -191,6 +192,14 @@ update_demo_version() {
)
}

update_explorer_version() {
local version="$1"
(
cd .github/workflows/explorer
sed -i"" -e "s,\(ghcr.io/input-output-hk/hydra-[^:]*\):[^[:space:]]*,\1:$version," docker-compose.yaml
)
}

changelog() {
local version="$1"
sed -e '/^## *\['"$version"'\]/ , /^## *\[.*\]/ !d' CHANGELOG.md | sed '$d' | sed -e 's/^\#* //'
Expand Down

0 comments on commit 503ffca

Please sign in to comment.