mirror of
https://github.com/run-llama/llamaindex.net.git
synced 2026-07-01 20:36:58 -04:00
Refactor build version generation in dotnet.yml
Previously, the build version was generated using the `date` command. This commit changes it to directly use the `github.run_number` variable, resulting in a simplified and more consistent build version format.
Impact:
- Updated the `buildVersion` export statement in dotnet.yml to use `0.0.0-beta${{ github.run_number }}`
Tests:
- No tests were impacted by this change
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
id: dateStep
|
||||
run: |
|
||||
export sha7=${SHA7::7}
|
||||
export buildVersion=$(date '0.0.0-beta${{ github.run_number }}')
|
||||
export buildVersion=0.0.0-beta${{ github.run_number }}
|
||||
|
||||
echo "::set-output name=buildVersion::$buildVersion"
|
||||
echo "::set-output name=buildMode::$buildMode"
|
||||
|
||||
Reference in New Issue
Block a user