Skip to content

Commit a4f3766

Browse files
committed
github tag&release
1 parent d588d89 commit a4f3766

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/espresso-release.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28+
with:
29+
ref: espresso-release
2830

2931
- name: Set up Java
3032
uses: actions/setup-java@v4
@@ -61,14 +63,7 @@ jobs:
6163
- name: Push new version to Git
6264
id: push_to_git
6365
run: |
64-
version="${{ steps.upgrade.outputs.version }}"
65-
trimmed_version=$(echo "$version" | xargs)
66-
if [[ -z "$trimmed_version" ]]; then
67-
echo "Version is empty or only whitespace, exiting"
68-
exit 0
69-
fi
70-
71-
tag_name="espresso-$trimmed_version"
66+
tag_name="espresso-${{ steps.upgrade.outputs.version }}"
7267
git add ./build.gradle
7368
git commit -m "[release] $tag_name"
7469
git tag $tag_name

0 commit comments

Comments
 (0)