Skip to content

Commit 4480f39

Browse files
committed
Autoupdate test
1 parent abb52db commit 4480f39

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
- name: "Set env"
1919
run: 'echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV'
2020

21+
- name: Git setup
22+
run: |
23+
git checkout main
24+
git config --global user.name "FelixSelter"
25+
git config --global user.email "[email protected]"
26+
2127
- name: Find and Replace
2228
uses: jacobtomlinson/gha-find-replace@v2
2329
with:
@@ -28,8 +34,6 @@ jobs:
2834

2935
- name: Commit and push changes
3036
run: |
31-
git config --global user.name "FelixSelter"
32-
git config --global user.email "[email protected]"
3337
git add src/jenv.ps1
3438
git commit -m "Inserted version into source file"
3539
git push

0 commit comments

Comments
 (0)