Skip to content

Commit

Permalink
fix: release please
Browse files Browse the repository at this point in the history
  • Loading branch information
fracasula committed Aug 27, 2024
1 parent ef2fa77 commit 70f9055
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ jobs:
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.PAT }}
pull-request-title-pattern: "chore: release ${version}"
release-type: go
package-name: rudder-schemas
default-branch: ${{ steps.extract_branch.outputs.branch }}
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false},{"type":"refactor","section":"Miscellaneous","hidden":false},{"type":"test","section":"Miscellaneous","hidden":false},{"type":"doc","section":"Documentation","hidden":false}]'
bump-minor-pre-major: true
target-branch: ${{ steps.extract_branch.outputs.branch }}
config-file: 'release-please-config.json'
manifest-file: '.release-please-manifest.json'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "v0.5.0"
}
9 changes: 9 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"release-type": "go",
"pull-request-title-pattern": "chore: release ${version}",
"bump-minor-pre-major": true,
"packages": {
".": {}
}
}

0 comments on commit 70f9055

Please sign in to comment.