This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# | |
# Bootstrap script for setting up a new OSX machine | |
# | |
# This should be idempotent so it can be run multiple times. | |
# | |
# Notes: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# env vars: | |
# BRANCH = target branch name | |
# FRONT_VERSION = infra-front version (entcore in package.json) | |
# BACK_VERSION = entcore version | |
# | |
# usage: | |
# # in the root folder of an app repository | |
# BRANCH="v3.3" FRONT_VERSION="~3.3.0-dev" BACK_VERSION="3.3-SNAPSHOT" ~/bin/prepareNextIteration.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -e "s|version=.*|version=$(cat ../recette/gradle.properties | grep entCoreVersion | cut -d "=" -f 2)|g" -i gradle.properties \ | |
&& ./build.sh install \ | |
&& git checkout -- gradle.properties \ | |
&& git checkout -- infra/src/main/resources/public/js/pixi.min.js \ | |
&& rm -fr ../recette/mods/org.entcore\~* \ | |
&& docker restart recette_vertx_1 |