diff --git a/Jenkinsfile b/Jenkinsfile index e576815..e6de75d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -119,13 +119,11 @@ pipeline { steps { script { bat """ - git checkout main git config user.email "jenkins@xuqm.com" git config user.name "Jenkins CI" git add gradle.properties git diff --cached --quiet || git commit -m "ci: bump PUBLISH_VERSION to ${env.NEW_VERSION}" - git pull --rebase origin main - git push origin main + git push origin HEAD:main """ } } diff --git a/gradle.properties b/gradle.properties index c455262..b710629 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,4 +2,4 @@ org.gradle.jvmargs=-Xmx4096m -Dfile.encoding=UTF-8 android.useAndroidX=true kotlin.code.style=official android.nonTransitiveRClass=true -PUBLISH_VERSION=1.0.3 +PUBLISH_VERSION=1.0.4