Skip to content

Commit

Permalink
ci: Tag api module on release (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson authored Feb 7, 2024
1 parent d75e905 commit 42a0a91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
- uses: actions/checkout@v4
if: ${{ steps.release-please.outputs.release_created }}

- name: tag common module
- name: Tag common and api modules
if: ${{ steps.release-please.outputs.release_created }}
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag -a common/${{ steps.release-please.outputs.tag_name }} -m "Release common/${{ steps.release-please.outputs.tag_name }}"
git push origin common/${{ steps.release-please.outputs.tag_name }}
git tag -a api/${{ steps.release-please.outputs.tag_name }} -m "Release api/${{ steps.release-please.outputs.tag_name }}"
git push origin {api,common}/${{ steps.release-please.outputs.tag_name }}
- if: ${{ steps.release-please.outputs.release_created }}
name: Run release workflow
Expand Down
3 changes: 3 additions & 0 deletions capi-runtime-extensions.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
},
{
"path": "./common"
},
{
"path": "./api"
}
],
"settings": {
Expand Down

0 comments on commit 42a0a91

Please sign in to comment.