-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update docker-compose from make_release.sh #2404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea
scripts/make_release.sh
Outdated
@@ -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'; git ls-files 'docker-compose.yml') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$(git ls-files '*.nix:!:nix/migration-tests.nix'; git ls-files '*.cabal'; git ls-files '*swagger.yaml'; git ls-files 'docker-compose.yml') | |
$(git ls-files '*.nix:!:nix/migration-tests.nix'; git ls-files '*.cabal'; git ls-files '*swagger.yaml') docker-compose.yml |
scripts/make_release.sh
Outdated
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/$OLD_CARDANO_NODE_TAG/$CARDANO_NODE_TAG/" docker-compose.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way you don't need the old tag -
sed -i "s/$OLD_CARDANO_NODE_TAG/$CARDANO_NODE_TAG/" docker-compose.yml | |
sed -i "s|inputoutput/cardano-node:.*|inputoutput/cardano-node:$CARDANO_NODE_TAG|" docker-compose.yml |
e02d604
to
5fed606
Compare
5fed606
to
058bc14
Compare
Thanks @rvl. Fixed. |
bors r+ |
Build failed:
|
bors r+ |
Build succeeded: |
Issue Number
#2398
Overview
Update docker-compose from make_release.sh
Comments