Update nightly version format for metapackage

This commit is contained in:
Mihail Gribkov
2025-05-08 21:34:13 +03:00
committed by GitHub
parent 29dff786c2
commit 8ff563f55d

View File

@@ -92,9 +92,15 @@ jobs:
- name: Is Tag Build
if: startsWith(github.ref, 'refs/tags/')
run: echo "IsTagBuild=true" >> $GITHUB_ENV
- name: Generate Beta Suffix
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, '/')
env:
REF_NAME: ${{ github.ref_name }}
run: echo "Suffix=${REF_NAME##*/}" >> $GITHUB_ENV
- name: Generate Suffix
run: echo "Suffix=$(date +'%Y%m%d')-${{ github.run_number }}" >> $GITHUB_ENV
run: echo "Suffix=nightly.$(date +'%Y%m%d').${{ github.run_number }}" >> $GITHUB_ENV
- name: setup NuGet
uses: nuget/setup-nuget@v2