I'm currently using a windows VM to build, and running a powershell command
```ps
Update-AppveyorBuild -Version "$(Get-Date -format yyyy.M).$env:appveyor_build_number"
```
I'd like to switch over to macos and I wonder if there's an equivalent `sh` command that I can run?

#1 Posted by Feodor Fitsner Support staff on 17 Nov, 2020 10:11 PM
You can use the same PowerShell code in Linux builds.
Alternatively, you can use
appveyorCLI as shown here: https://www.appveyor.com/docs/build-worker-api/#command-line-6#2 Posted by chase.florell on 17 Nov, 2020 10:35 PM
Thank you for that answer, Will the build number variable be the same (hoping to know without having to burn a build number to test).
`appveyor_build_number`
`appveyor UpdateBuild -Version "${$(date '+%Y.%m')}.${$appveyor_build_number}"`
#3 Posted by Feodor Fitsner Support staff on 17 Nov, 2020 10:37 PM
Must be CAPS_LOCK on Linux as their names are case-sensitive.
Feodor Fitsner closed this discussion on 18 Jan, 2021 09:03 PM.