Skip to content

Commit

Permalink
[Auto Generated] 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Sep 28, 2023
1 parent 7cfca2f commit b3bcbf2
Show file tree
Hide file tree
Showing 7 changed files with 201 additions and 2,783 deletions.
90 changes: 89 additions & 1 deletion .github/workflows/on_create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,92 @@ jobs:
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}


create-release:
runs-on: ubuntu-latest

steps:
- name: checkout repository
uses: actions/checkout@v3


- name: create release on `@gofynd/fdk-client-python` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-python/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-java` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-java/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-swift` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-swift/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-kotlin` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-kotlin/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-golang` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-golang/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-apispec` repository
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GH_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/gofynd/fdk-client-apispec/releases \
-d '{"tag_name":"${{ github.event.release.tag_name }}","target_commitish":"${{ github.event.release.target_commitish }}","name":"${{ github.event.release.name }}","draft":${{ github.event.release.draft }},"prerelease":${{ github.event.release.prerelease }},"generate_release_notes":true}'
continue-on-error: true


- name: create release on `@gofynd/fdk-client-documentation` repository
run: |
curl --header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: ${{ secrets.GL_ACCESS_TOKEN }}" \
--data '{ "name": "${{ github.event.release.name }}", "tag_name": "${{ github.event.release.tag_name }}", "ref": "${{ github.event.release.target_commitish }}" }' \
--request POST "https://gitlab.com/api/v4/projects/30067193/releases"
Loading

0 comments on commit b3bcbf2

Please sign in to comment.