Skip to content

Commit

Permalink
upp
Browse files Browse the repository at this point in the history
  • Loading branch information
syaiful-aa committed Jun 28, 2024
1 parent c4b863c commit fe3e44b
Showing 1 changed file with 30 additions and 22 deletions.
52 changes: 30 additions & 22 deletions .github/workflows/exp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,33 @@ jobs:
# sha: context.sha
# })

- name: Create Tag
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/syaiful-aa/quick_math/git/tags \
-d @- << 'EOF'
{
"tag": "v2.5.1",
"message": "initial version",
"object": "b0894005c70be201673dd17f699fa3a5d576241c",
"type": "commit",
"tagger":
{
"name": "GitHub Action",
"email": "[email protected]",
"date": "2024-06-28T14:53:35-07:00"
}
}
EOF
# - name: Create Tag
# run: |
# curl -L \
# -X POST \
# -H "Accept: application/vnd.github+json" \
# -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
# -H "X-GitHub-Api-Version: 2022-11-28" \
# https://api.github.com/repos/syaiful-aa/quick_math/git/tags \
# -d @- << 'EOF'
# {
# "tag": "v2.5.1",
# "message": "initial version",
# "object": "b0894005c70be201673dd17f699fa3a5d576241c",
# "type": "commit",
# "tagger":
# {
# "name": "GitHub Action",
# "email": "[email protected]",
# "date": "2024-06-28T14:53:35-07:00"
# }
# }
# EOF

- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_sha: 'b0894005c70be201673dd17f699fa3a5d576241c',
custom_tag: '2.5.1'

0 comments on commit fe3e44b

Please sign in to comment.