Skip to content

Commit 9481453

Browse files
committed
ci: Tag api module on release
This enables it to be imported directly into other Go projects.
1 parent 07f5568 commit 9481453

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release-please.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
- uses: actions/checkout@v4
2424
if: ${{ steps.release-please.outputs.release_created }}
2525

26-
- name: tag common module
26+
- name: Tag common and api modules
2727
if: ${{ steps.release-please.outputs.release_created }}
2828
run: |
2929
git config user.name github-actions[bot]
3030
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
3131
git tag -a common/${{ steps.release-please.outputs.tag_name }} -m "Release common/${{ steps.release-please.outputs.tag_name }}"
32-
git push origin common/${{ steps.release-please.outputs.tag_name }}
32+
git tag -a api/${{ steps.release-please.outputs.tag_name }} -m "Release api/${{ steps.release-please.outputs.tag_name }}"
33+
git push origin {api,common}/${{ steps.release-please.outputs.tag_name }}
3334
3435
- if: ${{ steps.release-please.outputs.release_created }}
3536
name: Run release workflow

capi-runtime-extensions.code-workspace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
},
99
{
1010
"path": "./common"
11+
},
12+
{
13+
"path": "./api"
1114
}
1215
],
1316
"settings": {

0 commit comments

Comments
 (0)