How do I add the commit sha to my version number?
On a Linux build I am trying to do something like this in my appveyor.yml:
version: 0.0.{build}+{APPVEYOR_REPO_COMMIT}
image: Ubuntu
...
The version
property seems to accept only certain variables like build
and branch
. Are there others, like commit
?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 10 Mar, 2020 05:11 PM
You can do like that:
2 Posted by mharen on 10 Mar, 2020 05:20 PM
Perfect, thank you.
mharen closed this discussion on 07 Mar, 2024 06:59 PM.