File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -736,8 +736,13 @@ if [ "$BASH_SOURCE" == "$0" ]; then
736
736
assumeRole
737
737
fi
738
738
739
+ # Get current task definition
740
+ getCurrentTaskDefinition
741
+ echo " Current task definition: $TASK_DEFINITION_ARN " ;
742
+
739
743
# Not required creation of new a task definition
740
744
if [ $FORCE_NEW_DEPLOYMENT == true ]; then
745
+ NEW_TASKDEF=$TASK_DEFINITION_ARN
741
746
updateServiceForceNewDeployment
742
747
if [[ $SKIP_DEPLOYMENTS_CHECK != true ]]; then
743
748
waitForGreenDeployment
@@ -749,10 +754,6 @@ if [ "$BASH_SOURCE" == "$0" ]; then
749
754
parseImageName
750
755
echo " Using image name: $useImage "
751
756
752
- # Get current task definition
753
- getCurrentTaskDefinition
754
- echo " Current task definition: $TASK_DEFINITION_ARN " ;
755
-
756
757
# create new task definition json
757
758
createNewTaskDefJson
758
759
You can’t perform that action at this time.
0 commit comments