Skip to content

Commit

Permalink
fix: update changelog action
Browse files Browse the repository at this point in the history
  • Loading branch information
BravoNatalie committed Nov 20, 2024
1 parent e937841 commit 010656f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"release-type": "node",
"include-component-in-tag": true,
"packages": {
"packages/edge-gateway-link": {
"package-name": "w3link-edge-gateway"
}
}
}
3 changes: 3 additions & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"packages/edge-gateway-link": "1.3.2"
}
11 changes: 6 additions & 5 deletions .github/workflows/edge-gateway-link.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,18 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
name: Changelog
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
releases_created: ${{ steps.tag-release.outputs.releases_created }}
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
- uses: googleapis/release-please-action@v4
id: tag-release
with:
path: packages/edge-gateway-link
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
monorepo-tags: true
package-name: w3link-edge-gateway
release:
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changelog.outputs.releases_created
name: Release
Expand Down

0 comments on commit 010656f

Please sign in to comment.