Skip to content

Commit a49fdb7

Browse files
chore: Use release-please action with a PAT (#2306)
1 parent 0c16785 commit a49fdb7

4 files changed

Lines changed: 28 additions & 26 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: google-github-actions/release-please-action@e4dc86ba9405554aeba3c6bb2d169500e7d3b4ee # v4
13+
with:
14+
token: ${{ secrets.RELEASE_PLEASE_GITHUB_TOKEN }}
15+
release-type: python

.release-please-config.json

Lines changed: 0 additions & 25 deletions
This file was deleted.

cognite/client/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from __future__ import annotations
22

3-
__version__ = "7.83.1"
3+
__version__ = "7.83.1" # x-release-please-version
44

55
__api_subversion__ = "20230101"

release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"package-name": "cognite/client",
6+
"release-type": "python",
7+
"extra-files": [
8+
"cognite/client/_version.py"
9+
]
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)