Skip to content

Commit 1dcbf54

Browse files
authored
ci: integrate release-please and cut 0.19.1 (#337)
1 parent 034b5cd commit 1dcbf54

6 files changed

Lines changed: 83 additions & 1 deletion

File tree

.github/workflows/lint-pr.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Lint PR'
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
- synchronize
10+
11+
jobs:
12+
main:
13+
name: Validate PR title
14+
runs-on: ubuntu-latest
15+
permissions:
16+
pull-requests: read
17+
steps:
18+
- uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release Please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
release-please:
11+
name: "Release Please"
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
steps:
16+
- name: Generate GitHub App Token
17+
id: app-token
18+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
19+
with:
20+
app-id: ${{ secrets.RELEASE_APP_ID }}
21+
private-key: ${{ secrets.RELEASE_APP_PEM }}
22+
23+
- uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
24+
id: release
25+
with:
26+
token: ${{ steps.app-token.outputs.token }}

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.19.1"
3+
}

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Changelog
2+
3+
## 0.19.1
4+
5+
### Features
6+
7+
- Add support for push authentication (#308)
8+
- Expose `externalToken` on `AuthenticationResponse` (#336)
9+
- Flow: native cancellation signals and typed bridge errors (#329)
10+
11+
---
12+
13+
Entries below `0.19.1` were tracked manually. From the next release onward this
14+
file is generated automatically by [release-please](https://github.com/googleapis/release-please)
15+
from Conventional Commit messages.

descopesdk/src/main/java/com/descope/sdk/Sdk.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ class DescopeSdk(context: Context, projectId: String, configure: DescopeConfig.(
104104
const val NAME = "DescopeAndroid"
105105

106106
/** The Descope SDK version */
107-
const val VERSION = "0.19.0"
107+
const val VERSION = "0.19.1" // x-release-please-version
108108
}
109109
}

release-please-config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"release-type": "simple",
4+
"bootstrap-sha": "af819f0a7c7440eec40d0fcea4058a15bc0b1b2e",
5+
"include-component-in-tag": false,
6+
"include-v-in-tag": false,
7+
"packages": {
8+
".": {
9+
"package-name": "descope-kotlin",
10+
"changelog-path": "CHANGELOG.md",
11+
"bump-minor-pre-major": true,
12+
"bump-patch-for-minor-pre-major": false,
13+
"extra-files": [
14+
"descopesdk/src/main/java/com/descope/sdk/Sdk.kt"
15+
]
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)