Skip to content

Commit

Permalink
ci: update release config (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinebayar-g authored Dec 17, 2024
1 parent 3bdf415 commit a69a4e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
release:
outputs:
release_created: ${{ steps.release.outputs.release_created }}
releases_created: ${{ steps.release.outputs.releases_created }}
paths_released: ${{ steps.release.outputs.paths_released }}
runs-on: ubuntu-24.04
steps:
Expand All @@ -22,10 +22,15 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Print release outputs
run: |
echo "Release created: ${{ steps.release.outputs.releases_created }}"
echo "Paths released: ${{ steps.release.outputs.paths_released }}"
publish:
runs-on: ubuntu-24.04
needs: release
if: needs.release.outputs.release_created
if: needs.release.outputs.releases_created
strategy:
matrix:
package: ${{ needs.release.outputs.paths_released }}
Expand Down
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json",
"release-type": "node",
"bump-minor-pre-major": true,
"include-component-in-tag": true,
"changelog-sections": [
{
"type": "feat",
Expand Down

0 comments on commit a69a4e6

Please sign in to comment.