Skip to content

Commit 13bc179

Browse files
committed
Add a gh-action for bumping libosdp-sys version
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
1 parent 66c6051 commit 13bc179

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/bump-libosdp.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Copyright (c) 2024 Siddharth Chandrasekaran <[email protected]>
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
name: Bump LibOSDP Version
8+
9+
on:
10+
workflow_dispatch:
11+
12+
jobs:
13+
bump_libosdp:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
submodules: recursive
21+
- name: 'Commit'
22+
run: |
23+
git config --local user.email "[email protected]"
24+
git config --local user.name "Github Actions Bot"
25+
bash ./scripts/make-release.sh -c libosdp-sys
26+
- name: 'Push'
27+
uses: ad-m/github-push-action@master
28+
with:
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
branch: ${{ github.ref }}
31+
tags: true

0 commit comments

Comments
 (0)