Easy way to stop build for non-tagged commits?
What is the easiest way to stop a build for non-tagged commits (or to not run the build altogether). I've tried detecting the presence of APPVEYOR_REPO_TAG_NAME and throwing an exit code but it does not seem to work.
Cheers
Joseph Ferraro
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 08 Oct, 2015 06:59 PM
We'll add that on appveyor.yml later this week. Will be something like
skip_non_tags: true
2 Posted by ferraro.joseph on 11 Oct, 2015 11:06 PM
Feodor, thanks for the prompt reply. Any idea the date when this will be added?
Support Staff 3 Posted by Feodor Fitsner on 11 Oct, 2015 11:41 PM
It's been implemented and deployed already. This is how to use it: https://github.com/appveyor/ci/issues/452#issuecomment-147151416
4 Posted by ferraro.joseph on 13 Oct, 2015 02:31 PM
@Feodor, thanks for the update. I've enabled this on my project, yet Appveyor continues to build non-tagged commits.
Support Staff 5 Posted by Feodor Fitsner on 13 Oct, 2015 03:26 PM
Do you have appveyor.yml?
- Feodor
6 Posted by ferraro.joseph on 13 Oct, 2015 07:42 PM
I do, however, I set this option within the UI
Support Staff 7 Posted by Feodor Fitsner on 13 Oct, 2015 07:56 PM
If project is configured in appveyor.yml then you should add
skip_non_tags: true
there.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.