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 7e57ba2 commit 7c6f356Copy full SHA for 7c6f356
.github/workflows/build.yml
@@ -290,9 +290,8 @@ jobs:
290
- name: Format Date/Time for Package Version (Tag builds only)
291
if: ${{ startsWith(github.ref, 'refs/tags/') }}
292
run: |
293
- # Tag builds: use tag creation date (allows manual tags with specific dates)
294
- # Non-tag builds: VERSION_DATE not set, script defaults to current date if needed
295
- echo "VERSION_DATE=$(git for-each-ref --format='%(creatordate:format:%y%m%d)' ${{ github.ref }})" >> $env:GITHUB_ENV
+ $dateString = "${{ github.ref }}" -replace '^refs/tags/release/weekly/', ''
+ echo "VERSION_DATE=$dateString" >> $env:GITHUB_ENV
296
297
- name: Restore dotnet tools
298
run: dotnet tool restore
0 commit comments