Skip to content

Commit

Permalink
[Auto Generated]
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Dec 23, 2024
1 parent 54f94bb commit c4c27d0
Show file tree
Hide file tree
Showing 37 changed files with 105 additions and 50 deletions.
24 changes: 22 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
if [ "$(Build.SourceBranch)" != "refs/tags/*" ]; then
echo "This is a tag push. Sync starting..."
BRANCH_NAME=$(echo $(Build.SourceBranchName) | sed 's/^refs\/tags\///' | sed 's/\./_/g')
BRANCH_NAME=main
git config --global user.email "jigar.dafda@gmail.com"
git config --global user.name "Jigar Dafda"
git clone https://$(GITHUB_USERNAME):$(GITHUB_PERSONAL_TOKEN)@github.com/gofynd/fdk-store-gql.git
cd fdk-store-gql
git checkout -b $BRANCH_NAME
git checkout $BRANCH_NAME
rm -rf ./*
cd ..
Expand All @@ -49,6 +49,26 @@ jobs:
git tag $(Build.SourceBranchName)
git push origin $(Build.SourceBranchName)
# Create GitHub release
RELEASE_TITLE="Release_$(Build.SourceBranchName)"
echo $(Build.SourceBranchName)
echo $RELEASE_TITLE
echo $BRANCH_NAME
POST_DATA=$(printf '{
"tag_name": "%s",
"target_commitish": "%s",
"name": "%s",
"body": "%s",
"draft": false,
"prerelease": false
}' $(Build.SourceBranchName) $BRANCH_NAME $RELEASE_TITLE "$RELEASE_TITLE")
echo $POST_DATA
curl -X POST -H "Authorization: token $(GITHUB_PERSONAL_TOKEN)" \
-H "Content-Type: application/json" \
-d "$POST_DATA" \
"https://api.github.com/repos/gofynd/fdk-store-gql/releases"
else
echo "This is not a tag push. Exiting..."
exit 0
Expand Down
2 changes: 1 addition & 1 deletion lib/graphql/mutations/UnFollowById.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/UnFollowById.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/graphql/mutations/addItemsToCart.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/addItemsToCart.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/followById.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/followById.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/selectAddress.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/selectAddress.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/selectPaymentMode.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/selectPaymentMode.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/graphql/mutations/updateCart.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/updateCart.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/updateProfile.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/mutations/updateProfile.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/cartHandler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/cartHandler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/collection.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/collection.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/order.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/order.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/product.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/product.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/products.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/graphql/query/products.handler.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/graphql/query/user.handler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c4c27d0

Please sign in to comment.