Skip to content

Commit c01fb87

Browse files
committed
Try to fix git commit issue
1 parent 0ddc337 commit c01fb87

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Gradle Check
3636
run: ./gradlew --info check
3737
build:
38-
name: Publish snapshot
38+
name: Publish release
3939
needs: test
4040
runs-on: ubuntu-latest
4141
steps:
@@ -63,3 +63,7 @@ jobs:
6363
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
6464
BINTRAY_PASS: ${{ secrets.BINTRAY_PASSWORD }}
6565
run: bash github-build.sh
66+
- name: Commit release tag and next version
67+
uses: stefanzweifel/git-auto-commit-action@v4
68+
with:
69+
push_options: '--follow-tags'

github-build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ commitNextVersion() {
5555
echo "Deploying release to Bintray"
5656
removeSnapshots
5757

58-
./gradlew clean assemble && ./gradlew check --info #&& ./gradlew bintrayUpload -x check --info
58+
./gradlew clean assemble #&& ./gradlew bintrayUpload -x check --info
5959

6060
commitRelease
6161
bumpVersion
6262
commitNextVersion
63-
git push --follow-tags
63+
#git push --follow-tags

0 commit comments

Comments
 (0)