Skip to content

Commit c5c4929

Browse files
authored
Clarify usage on Linux/Windows
1 parent e8aaf95 commit c5c4929

File tree

1 file changed

+3
-4
lines changed
  • docs/input/docs/build-server-support/build-server

1 file changed

+3
-4
lines changed

docs/input/docs/build-server-support/build-server/bamboo.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ using the [.NET Core GitVersion global tool](https://www.nuget.org/packages/GitV
1010

1111
## Example
1212

13-
### Task: Script
13+
The first script can be run on a Linux build host, the second script can be run on
14+
a Windows build host using Powershell. The build only needs one of the two.
1415

15-
This script can be run on a Linux build host.
16+
### Task: Script
1617

1718
**Script body**
1819

@@ -25,8 +26,6 @@ sed -i '1d;26d;s/ //;s/"//g;s/,//;s/:/=/' gitversion.txt
2526

2627
**Script body**
2728

28-
This script can be run on a Windows build host using Powershell.
29-
3029
```powershell
3130
(dotnet gitversion | ConvertFrom-Json).PSObject.Properties | ForEach-Object { Write-Output "$($_.Name)=$($_.Value)" } | Out-File -Encoding UTF8 -FilePath gitversion.txt
3231
```

0 commit comments

Comments
 (0)