File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 18
18
- uses : actions/checkout@v3
19
19
with :
20
20
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 [email protected]
21
25
- name : Check if snapshot version
22
26
run : |
23
27
VERSION_NAME=$(./gradlew -q printVersionName | tail -n 1)
30
34
echo "Setting next snapshot version"
31
35
./gradlew incrementPatchVersion --info
32
36
./gradlew setSnapshotVersionSuffix --info
33
- git config user.name github-actions
34
- git config user.email [email protected]
35
37
git add gradle.properties
36
38
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