We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f99af95 commit 7bd07bbCopy full SHA for 7bd07bb
.github/workflows/publish-pipeline.yml
@@ -21,10 +21,13 @@ jobs:
21
steps:
22
- uses: actions/checkout@v3
23
24
- - name: Set .csproj version to ${{github.ref_name}}
+ - name: Parse version tag
25
run: |
26
VERSION=${{ github.ref_name }}
27
echo "VERSION=${VERSION:1}" >> $GITHUB_ENV
28
+
29
+ - name: Set .csproj version to ${{ env.VERSION }}
30
+ run: |
31
sed -i 's/<Version>[0-9].[0-9].[0-9]<\/Version>/<Version>${{ env.VERSION }}<\/Version>/g' MewtocolNet/MewtocolNet.csproj
32
less MewtocolNet/MewtocolNet.csproj
33
0 commit comments