Skip to content

Commit

Permalink
Adds release please configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed May 21, 2024
1 parent e9f2cc5 commit cbba39b
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
release-type: go
manifest: true
primaryBranch: main
handleGHRelease: true
28 changes: 28 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# .github/workflows/release-please.yml

name: Release Please

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '^1.20'

- name: Release Please
uses: google-github-actions/release-please-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
".": "1.42.0"
}

15 changes: 15 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"exclude-paths": [
".git",
".idea",
".github",
".vscode"
],
"release-type": "go",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"include-component-in-tag": true,
"include-v-in-tag": true,
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit cbba39b

Please sign in to comment.