Fix release
This commit is contained in:
@@ -239,7 +239,7 @@ pipelines:
|
|||||||
name: "plan for the release and tag the given version."
|
name: "plan for the release and tag the given version."
|
||||||
image: atlassian/pipelines-awscli
|
image: atlassian/pipelines-awscli
|
||||||
script:
|
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"
|
- echo "make sure that release version file and plan has been added to the release repo"
|
||||||
- source release
|
- 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')
|
- 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')
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ git clone --branch="develop" https://x-token-auth:$TOKEN@bitbucket.org/connectam
|
|||||||
cd $REPO/;
|
cd $REPO/;
|
||||||
git config user.email "{botid}@bots.bitbucket.org" ;
|
git config user.email "{botid}@bots.bitbucket.org" ;
|
||||||
git checkout -b feature/$VERSION-$ENV-$SUBDOMAIN && git push --set-upstream origin feature/$VERSION-$ENV-$SUBDOMAIN;
|
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'
|
git add --all && git commit -m "auto-patch $VERSION-$ENV-$SUBDOMAIN-$(date +%Y-%m-%dT%H_%M_%S)" && git push'
|
||||||
#--------------------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user