Skip to content

Commit cce1d5a

Browse files
authored
Update patch.yml
1 parent 03257e5 commit cce1d5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/patch.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,13 @@ jobs:
3939
fetch-depth: 0
4040
- id: step1
4141
run: echo "newTag=`echo $(echo ${{needs.setup-outputs.outputs.currentTag}} | awk 'BEGIN{FS=OFS="."} {$3+=1} 1')`" >> $GITHUB_ENV
42+
- name: Edit csproj
43+
run: sed -i 's+<VersionPrefix>${{needs.setup-outputs.outputs.currentTag}}</VersionPrefix>+<VersionPrefix>$newTag</VersionPrefix>+g' ./README.md
44+
- run: cat ./README.md
4245
- id: step2
4346
run: echo "realeseNote=`echo $(git log 0.0.09..master --format=format:'- [%s](https://github.com/TiLied/CSharpToJavaScript/commit/%H)')`" >> $GITHUB_ENV
44-
- run: |
47+
48+
- name: Environments
49+
run: |
4550
echo $newTag
4651
echo $realeseNote

0 commit comments

Comments
 (0)