Publishing nuget artifact only on git tags
Right now, With the following addition in my appveyor.yml file:
artifacts:
- path: '*.nupkg'
I am able to push the produced nupkg in the project and account
feed. I would like this to happen only when I push a new tag. I
know that this is possible in the deployments with the usage of the
appveyor_repo_tag: true
option. Is it possible to use
it with the automatic nupkg push on appveyor?
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 01 Jun, 2015 04:25 PM
There are two options here:
2 Posted by giacomo.tag on 02 Jun, 2015 07:41 AM
Is there any appveyor environment variable that can help me discern if it's a tag build or not?
Support Staff 3 Posted by Feodor Fitsner on 02 Jun, 2015 05:29 PM
It's
APPVEYOR_REPO_TAG
: http://www.appveyor.com/docs/environment-variables4 Posted by giacomo.tag on 03 Jun, 2015 07:23 AM
thanks! didn't read that doc.
giacomo.tag closed this discussion on 03 Jun, 2015 07:23 AM.