Skip to content

Commit

Permalink
Merge pull request #119 from somleng/fix_release_please
Browse files Browse the repository at this point in the history
fix: release please
  • Loading branch information
dwilkie authored Dec 19, 2023
2 parents 7598358 + d33eec2 commit 5e6633e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ jobs:
twilio_version=$(npm info twilio version | xargs echo)
echo "twilio_version=$twilio_version" >> $GITHUB_OUTPUT
- name: "Set release version"
run: |
cat release-please-config.json | jq '. + { "release-as": "${{ steps.get_release_version.outputs.twilio_version }}" }' > release-please-config.json
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
release-as: ${{ steps.get_release_version.outputs.twilio_version }}
token: ${{ secrets.SOMLENG_PERSONAL_ACCESS_TOKEN }}
config-file: release-please-config.json

- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
Expand Down
3 changes: 0 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
{
".": "4.21.1"
}
4 changes: 2 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "node"
"changelog-path": "CHANGELOG.md"
}
},
"release-type": "node",
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit 5e6633e

Please sign in to comment.