Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limit to most recent tag? #3

Open
ariddell opened this issue Nov 4, 2014 · 3 comments
Open

limit to most recent tag? #3

ariddell opened this issue Nov 4, 2014 · 3 comments

Comments

@ariddell
Copy link

ariddell commented Nov 4, 2014

Is there a recommended strategy for limiting uploads to the most recent tag -- rather than every build? MacPython/terryfy does this. I'd be happy to take a stab at it if someone points me in the right direction?

@ogrisel
Copy link
Owner

ogrisel commented Nov 5, 2014

I was planning to implement that as a new commandline option in https://github.com/ogrisel/wheelhouse-uploader.

Check the presence of APPVEYOR_REPO_TAG and APPVEYOR_REPO_BRANCH is os.environ, see:

http://www.appveyor.com/docs/branches

Feel free to give it a stab. Here is an example use of wheelhouse-uploader with AppVeyor in scikit-learn:

https://github.com/scikit-learn/scikit-learn/blob/master/appveyor.yml#L74

@ariddell
Copy link
Author

ariddell commented Nov 5, 2014

Thanks! I'll settle for the APPVEYOR_REPO_TAG as a quick fix.

@ariddell
Copy link
Author

ariddell commented Nov 5, 2014

Disregard that last message. I realize that it's simpler just to only build when
I update master (rather than develop or branches). Using directions here:
http://www.appveyor.com/docs/branches

Likewise, it APPVEYOR_REPO_TAG looks easy to check, if I knew how to use
powershell.

Thanks for the help.

On 11/05, Olivier Grisel wrote:

I was planning to implement that as a new commandline option in https://github.com/ogrisel/wheelhouse-uploader.

Check the presence of APPVEYOR_REPO_TAG and APPVEYOR_REPO_BRANCH is os.environ, see:

http://www.appveyor.com/docs/branches

Feel free to give it a stab. Here is an example use of wheelhouse-uploader with AppVeyor in scikit-learn:

https://github.com/scikit-learn/scikit-learn/blob/master/appveyor.yml#L74


Reply to this email directly or view it on GitHub:
#3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants