Skip to content

Commit 61c87cb

Browse files
committed
git add
1 parent ce0208e commit 61c87cb

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/initiate_release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
version:
77
description: "The new version number. Example: 1.40.1"
88
required: true
9+
type: string
10+
pattern: "^[0-9]+\\.[0-9]+\\.[0-9]+$"
911

1012
jobs:
1113
init_release:
@@ -21,9 +23,11 @@ jobs:
2123
VERSION: ${{ github.event.inputs.version }}
2224
run: |
2325
npx --yes [email protected] --release-as "$VERSION" --skip.tag --skip.commit --tag-prefix=
26+
echo "version=$VERSION" >> gradle.properties
2427
git config --global user.name 'github-actions'
2528
git config --global user.email '[email protected]'
2629
git checkout -q -b "release-$VERSION"
30+
git add CHANGELOG.md gradle.properties
2731
git commit -am "chore(release): $VERSION"
2832
git push -q -u origin "release-$VERSION"
2933

build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ plugins {
1010
}
1111

1212
group = "io.getstream"
13-
version = "0.1.0"
1413
description = "Stream official Java SDK"
1514

1615
repositories {

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version=0.0.1

0 commit comments

Comments
 (0)