File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1818 - uses : actions/checkout@v3
1919 with :
2020 persist-credentials : false # without this, all access tokens set later on will be ignored
21+ - name : Set git config
22+ run : |
23+ git config user.name github-actions
24+ git config user.email github-actions@github.com
2125 - name : Check if snapshot version
2226 run : |
2327 VERSION_NAME=$(./gradlew -q printVersionName | tail -n 1)
3034 echo "Setting next snapshot version"
3135 ./gradlew incrementPatchVersion --info
3236 ./gradlew setSnapshotVersionSuffix --info
33- git config user.name github-actions
34- git config user.email github-actions@github.com
3537 git add gradle.properties
3638 git commit -m "Setting next snapshot version [skip ci]"
37- git push --follow-tags
39+ git push https://tschuchortdev:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git --follow-tags
You can’t perform that action at this time.
0 commit comments