Skip to content

Instantly share code, notes, and snippets.

@cer
Created February 23, 2020 23:56
Show Gist options
  • Save cer/049cdcce8d1322c0231050825567ca23 to your computer and use it in GitHub Desktop.
Save cer/049cdcce8d1322c0231050825567ca23 to your computer and use it in GitHub Desktop.
#! /bin/bash -e
grep eventuate gradle.properties
fixVersion() {
name=${1?}
version=${2?}
sed -i "" -e "s/${name}=.*/${name}=${version}/" gradle.properties
}
# sed -i "" -e 's/eventuateCommonVersion=.*/eventuateCommonVersion=0.9.0.RC2/' gradle.properties
# sed -i "" -e 's/eventuateMessagingPartitionManagementVersion=.*/eventuateMessagingPartitionManagementVersion=0.5.0.RC1/' gradle.properties
# sed -i "" -e 's/eventuateMessagingKafkaVersion=.*/eventuateMessagingKafkaVersion=0.9.0.RC1/' gradle.properties
fixVersion eventuateCommonVersion 0.9.0.RC2
fixVersion eventuateCommonImageVersion 0.9.0.RC2
fixVersion eventuateMessagingPartitionManagementVersion 0.5.0.RC1
fixVersion eventuateMessagingKafkaVersion 0.9.0.RC1
fixVersion eventuateMessagingKafkaImageVersion 0.9.0.RC1
fixVersion eventuateMessagingActiveMQVersion 0.6.0.RC1
fixVersion eventuateMessagingRedisVersion 0.7.0.RC1
fixVersion eventuateMessagingRabbitMQVersion 0.7.0.RC1
fixVersion eventuateTramVersion 0.24.0.RC1
fixVersion eventuateClientVersion 0.23.0.RC1
fixVersion eventuateLocalVersion 0.32.0.RC1
fixVersion eventuateTramSagasVersion 0.13.0.RC1
git diff HEAD gradle.properties
./gradlew testClasses
git commit -m "Upgraded eventuate dependencies" gradle.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment