-
Notifications
You must be signed in to change notification settings - Fork 247
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
Provide optional "dev" version augmentation #209
Comments
I think we should do this opt-in style because
So I would like to make it explicit that there is some patching going on and |
I'm confused by this statement. If "we don't do anything", who "computes something from git"? |
otherwise 👍 |
The user. version = '1.0.1.dev' + doMagicWithCurrentGitRef() in |
I suppose then we can rewrite then this:
or
or these
respectively. I might actually lean towards Cool? |
Sounds good 😄 |
Ok |
@arcivanov I just noticed that patching the version in Unless there is a way to access the encrypted credentials (env variables or similar), then we could stick to |
@mriehl Actually we can. We can have an encrypted .pypirc file and use that with http://docs.travis-ci.com/user/encrypting-files/ |
fixes pybuilder#209, connected to pybuilder#209
fixes pybuilder#209, connected to pybuilder#209
fixes pybuilder#209, connected to pybuilder#209
2) project version with suffix '.dev' - pybuilder/pybuilder#209
2) project version with suffix '.dev' - pybuilder/pybuilder#209
As described in #195 it seems to be desirable for PyB to increment generated versions of the artifacts.
It may also be desirable to do it for other projects as well.
The idea is as follows and is borrowed entirely from Maven
-SNAPSHOT
:version
inbuild.py
as ".dev0" (or "dev0", that will be normalized into a first version anyway).dev0
turned into.devN
m whereN
is a UTC microsecond timestamp, in the form ofYYYYDDMMHHmmSSssssss
.The text was updated successfully, but these errors were encountered: