Skip to content

Commit 4d5bb07

Browse files
committed
Autoupdate test
1 parent 4b8545b commit 4d5bb07

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 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: Setup git
22+
run: |
23+
git config --global user.name "FelixSelter"
24+
git config --global user.email "[email protected]"
25+
git checkout main
26+
2127
- name: Find and Replace
2228
uses: jacobtomlinson/gha-find-replace@v2
2329
with:
@@ -28,9 +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]"
33-
git checkout main
3437
git add src/jenv.ps1
3538
git commit -m "Inserted version into source file"
3639
git push

0 commit comments

Comments
 (0)