We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1687fcf commit 6ebe135Copy full SHA for 6ebe135
1 file changed
.github/workflows/remote_release.yml
@@ -0,0 +1,25 @@
1
+name: Remote Tagging
2
+
3
+on:
4
+ repository_dispatch:
5
+ types: [update-tag]
6
7
+jobs:
8
+ submodule:
9
+ name: Update submodule and create tag
10
+ runs-on: Ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v3
14
+ with:
15
+ path: repo
16
+ fetch-depth: 0 # test if depth in fetch history is required
17
+ - name: Update submodule and push with tag
18
+ run: |
19
+ git submodule update --recursive --remote
20
+ git add .
21
+ git commit -m "git submodule updated"
22
+ git tag ${{ github.event.client_payload.tag }}
23
+ git push --atomic origin master ${{ github.event.client_payload.tag }}
24
25
0 commit comments