Skip to content

Commit 7bd07bb

Browse files
committed
Fixed env.VERSION for sed step
1 parent f99af95 commit 7bd07bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish-pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323

24-
- name: Set .csproj version to ${{github.ref_name}}
24+
- name: Parse version tag
2525
run: |
2626
VERSION=${{ github.ref_name }}
2727
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
28+
29+
- name: Set .csproj version to ${{ env.VERSION }}
30+
run: |
2831
sed -i 's/<Version>[0-9].[0-9].[0-9]<\/Version>/<Version>${{ env.VERSION }}<\/Version>/g' MewtocolNet/MewtocolNet.csproj
2932
less MewtocolNet/MewtocolNet.csproj
3033

0 commit comments

Comments
 (0)