cashfree-pg 3.2.0 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,3 +23,24 @@ jobs:
23
23
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24
24
  NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
25
25
  GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
26
+
27
+ - name: Get Latest Tag
28
+ uses: actions-ecosystem/action-get-latest-tag@v1
29
+ id: get-latest-tag
30
+
31
+ - name: Release
32
+ run: |
33
+ curl --location --request POST 'https://api.github.com/repos/cashfree/cashfree-pg-sdk-nodejs/releases' \
34
+ --header 'Accept: application/vnd.github+json' \
35
+ --header "Authorization: Bearer ${{ secrets.TOKEN_GITHUB }}" \
36
+ --header 'X-GitHub-Api-Version: 2022-11-28' \
37
+ --header 'Content-Type: application/json' \
38
+ --data-raw '{
39
+ "tag_name": "${{ steps.get-latest-tag.outputs.tag }}",
40
+ "target_commitish": "main",
41
+ "name": "${{ steps.get-latest-tag.outputs.tag }}",
42
+ "body": "Release version ${{ steps.get-latest-tag.outputs.tag }}",
43
+ "draft": false,
44
+ "prerelease": false,
45
+ "generate_release_notes": false
46
+ }'