File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 3131 submodules : recursive
3232
3333 - name : Checkout latest Tag
34+ id : print-version
3435 shell : bash
3536 run : |
3637 git fetch --tags
@@ -194,8 +195,8 @@ jobs:
194195 shell : bash
195196 env :
196197 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
198+ VERSION : ${{ needs.build.outputs.version }}
197199 run : |
198- VERSION=${{ needs.build.outputs.version }}
199200 VERSION="${VERSION:1}"
200201 dotnet pack ./build/DSharpPlus.Natives.Opus.csproj -c Release -p:Version="$VERSION.${{ github.run_number }}"
201202 dotnet nuget push "artifacts/**" --skip-duplicate -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 2828 submodules : recursive
2929
3030 - name : Checkout latest Tag
31+ id : print-version
3132 shell : bash
3233 run : |
3334 git fetch --tags
@@ -207,8 +208,8 @@ jobs:
207208 shell : bash
208209 env :
209210 NUGET_API_KEY : ${{ secrets.NUGET_API_KEY }}
211+ VERSION : ${{ needs.build.outputs.version }}
210212 run : |
211- VERSION=${{ needs.build.outputs.version }}
212213 VERSION="${VERSION%%-*}"
213214 dotnet pack ./build/DSharpPlus.Natives.Sodium.csproj -c Release -p:Version="$VERSION.${{ github.run_number }}"
214215 dotnet nuget push "artifacts/**" --skip-duplicate -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 3131 submodules : recursive
3232
3333 - name : Checkout latest Tag
34+ id : print-version
3435 shell : bash
3536 run : |
3637 git fetch --tags
You can’t perform that action at this time.
0 commit comments