Skip to content

Commit 8ff563f

Browse files
authored
Update nightly version format for metapackage
1 parent 29dff78 commit 8ff563f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,15 @@ jobs:
9292
- name: Is Tag Build
9393
if: startsWith(github.ref, 'refs/tags/')
9494
run: echo "IsTagBuild=true" >> $GITHUB_ENV
95+
96+
- name: Generate Beta Suffix
97+
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref_name, '/')
98+
env:
99+
REF_NAME: ${{ github.ref_name }}
100+
run: echo "Suffix=${REF_NAME##*/}" >> $GITHUB_ENV
95101

96102
- name: Generate Suffix
97-
run: echo "Suffix=$(date +'%Y%m%d')-${{ github.run_number }}" >> $GITHUB_ENV
103+
run: echo "Suffix=nightly.$(date +'%Y%m%d').${{ github.run_number }}" >> $GITHUB_ENV
98104

99105
- name: setup NuGet
100106
uses: nuget/setup-nuget@v2

0 commit comments

Comments
 (0)