Skip to content

Commit

Permalink
Update docker-compose from make_release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Stachyra committed Dec 18, 2020
1 parent 8d6341a commit 5fed606
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ OLD_CABAL_VERSION="2020.11.26"
GIT_TAG="v2020-12-08"
CABAL_VERSION="2020.12.8"

CARDANO_NODE_TAG="1.24.2"
CARDANO_NODE_TAG="1.24.4"
################################################################################
OLD_DATE="${OLD_GIT_TAG//v}"
CHANGELOG=GENERATED_CHANGELOG.md
Expand All @@ -38,11 +38,15 @@ WIKI_COMMIT=$(git ls-remote https://github.com/$REPO.wiki.git HEAD | cut -f1)
echo ""
echo "Replacing $OLD_CABAL_VERSION with $CABAL_VERSION"
sed -i "s/$OLD_CABAL_VERSION/$CABAL_VERSION/" \
$(git ls-files '*.nix:!:nix/migration-tests.nix'; git ls-files '*.cabal'; git ls-files '*swagger.yaml')
$(git ls-files '*.nix:!:nix/migration-tests.nix'; git ls-files '*.cabal'; git ls-files '*swagger.yaml') docker-compose.yml
echo "Looking for remaining references to old version:"
git grep $OLD_CABAL_VERSION
echo ""

echo "Updating docker-compose.yml with $CARDANO_NODE_TAG cardano-node tag"
sed -i "s|inputoutput/cardano-node:.*|inputoutput/cardano-node:$CARDANO_NODE_TAG|" docker-compose.yml
echo ""

echo "Generating changelog..."
./scripts/make_changelog.sh $OLD_DATE > $CHANGELOG
echo ""
Expand Down

0 comments on commit 5fed606

Please sign in to comment.