Skip to content

Commit e41e8ee

Browse files
committed
fix publish workflow
1 parent fccbd26 commit e41e8ee

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,6 @@ jobs:
4040
echo "Setting version to $FULL_VERSION"
4141
sed -i "s/^project_version = .*/project_version = $FULL_VERSION/" gradle.properties
4242
echo "FULL_VERSION=$FULL_VERSION" >> $GITHUB_ENV
43-
- name: Commit version change
44-
run: |
45-
git config --global user.name "Gitea Actions"
46-
git config --global user.email "actions@gitea.com"
47-
git checkout -b ${{github.event.release.target_commitish}}
48-
git add .
49-
git commit -m "[ci-skip] Update version to ${{ env.FULL_VERSION }}"
50-
git push --force origin ${{github.event.release.target_commitish}}
5143
- name: Build
5244
run: ./gradlew publish --no-daemon --stacktrace
5345
env:

0 commit comments

Comments
 (0)