Skip to content

Commit

Permalink
[Auto Generated] 1.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jigardafda committed Oct 6, 2023
1 parent b3bcbf2 commit a397b7d
Show file tree
Hide file tree
Showing 8 changed files with 5,945 additions and 143 deletions.
90 changes: 1 addition & 89 deletions .github/workflows/on_create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,92 +20,4 @@ jobs:
- run: npm ci
- run: npm publish --access public
env:
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"
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
Loading

0 comments on commit a397b7d

Please sign in to comment.