Fix release

This commit is contained in:
Jay Sharma
2023-10-11 23:16:23 +05:30
parent 59d10dd28c
commit 8fc5d3a22b
2 changed files with 2 additions and 2 deletions

View File

@@ -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')

View File

@@ -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'
#--------------------------------------------------------------------------------------------------------------