From 8fc5d3a22b7cfe77050fcc85dcc9a6522dc0abdd Mon Sep 17 00:00:00 2001 From: Jay Sharma Date: Wed, 11 Oct 2023 23:16:23 +0530 Subject: [PATCH] Fix release --- bitbucket-pipelines.yml | 2 +- common-jobs-bitbucket.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index beac8cf7..52647cc6 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -239,7 +239,7 @@ pipelines: name: "plan for the release and tag the given version." image: atlassian/pipelines-awscli script: - - chmod 755 ./validation.sh && ./validation.sh default + #- chmod 755 ./validation.sh && ./validation.sh default - echo "make sure that release version file and plan has been added to the release repo" - source release - export MANIFEST=$(aws ecr batch-get-image --repository-name medicalalert-web --image-ids imageTag=$VERSION --output json | jq --raw-output --join-output '.images[0].imageManifest') diff --git a/common-jobs-bitbucket.sh b/common-jobs-bitbucket.sh index 0e50ad02..4c3bb58e 100644 --- a/common-jobs-bitbucket.sh +++ b/common-jobs-bitbucket.sh @@ -97,7 +97,7 @@ git clone --branch="develop" https://x-token-auth:$TOKEN@bitbucket.org/connectam cd $REPO/; git config user.email "{botid}@bots.bitbucket.org" ; git checkout -b feature/$VERSION-$ENV-$SUBDOMAIN && git push --set-upstream origin feature/$VERSION-$ENV-$SUBDOMAIN; -rsync -av --delete --exclude 'wp-content/uploads' /usr/share/nginx/subdomain/$SUBDOMAIN/ wp; +rsync -a --delete --exclude 'wp-content/uploads' /usr/share/nginx/subdomain/$SUBDOMAIN/ wp; git add --all && git commit -m "auto-patch $VERSION-$ENV-$SUBDOMAIN-$(date +%Y-%m-%dT%H_%M_%S)" && git push' #--------------------------------------------------------------------------------------------------------------