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

Add a way to set Distribution in changes files #55

Closed
azatoth opened this issue Mar 28, 2013 · 1 comment
Closed

Add a way to set Distribution in changes files #55

azatoth opened this issue Mar 28, 2013 · 1 comment
Labels

Comments

@azatoth
Copy link
Contributor

azatoth commented Mar 28, 2013

While I thought setting distribution variable would suffice, it didn't change the Distribution key in the changes file for me (nor in changelog). Trying to set distribution=staging, I 'm ending up with following: "bubba-backend (2.6rc10+01364487385.9+staging~1.gbp483755) precise; urgency=low"

@mika
Copy link
Owner

mika commented Aug 28, 2015

Sorry for the long time without any reply here. :( You would like to set distribution=staging in the *-source job and then get "$package ($version) $distribution; urgency=low" in debian/changelog, right? You can use "export DIST=staging" in the *-source job before invoking generate-git-snapshot to get this behaviour. To control the behavior of the resulting version string you can use "export distribution=staging" as you already did. I'm aware that this is not elegant and confusing, but reworking this is not so trivial without breaking existing setups. Closing for the time being.

@mika mika closed this as completed Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants