Skip to content

Commit e1b9f5a

Browse files
tilgalascopybara-github
authored andcommitted
chore: configure release-please github action
PiperOrigin-RevId: 869687403
1 parent 799646e commit e1b9f5a

3 files changed

Lines changed: 20 additions & 3 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
'on':
2+
push:
3+
branches:
4+
- main
5+
workflow_dispatch: {}
6+
permissions:
7+
contents: write
8+
issues: write
9+
pull-requests: write
10+
name: release-please
11+
jobs:
12+
release-please:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: googleapis/release-please-action@v4
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ debugging, versioning, and deployment anywhere – from your laptop to the cloud
4444

4545
If you're using Maven, add the following to your dependencies:
4646

47-
<!-- {x-version-start:google-adk:released} -->
47+
<!-- x-release-please-released-start-version -->
4848

4949
```xml
5050
<dependency>
@@ -60,7 +60,7 @@ If you're using Maven, add the following to your dependencies:
6060
</dependency>
6161
```
6262

63-
<!-- {x-version-end} -->
63+
<!-- x-release-please-released-end -->
6464

6565
To instead use an unreleased version, you could use <https://jitpack.io/#google/adk-java/>;
6666
see <https://github.com/enola-dev/LearningADK#jitpack> for an example illustrating this.

core/src/main/java/com/google/adk/Version.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323
public final class Version {
2424
// Don't touch this, release-please should keep it up to date.
25-
public static final String JAVA_ADK_VERSION = "0.5.0";
25+
public static final String JAVA_ADK_VERSION = "0.5.0"; // x-release-please-released-version
2626

2727
private Version() {}
2828
}

0 commit comments

Comments
 (0)