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

Properly handle blank slate case for 0.0.1 #3

Open
ivey opened this issue Jun 25, 2012 · 4 comments
Open

Properly handle blank slate case for 0.0.1 #3

ivey opened this issue Jun 25, 2012 · 4 comments

Comments

@ivey
Copy link
Contributor

ivey commented Jun 25, 2012

No description provided.

@Fapiko
Copy link

Fapiko commented Dec 8, 2012

Is this issue when using 'auto'? I just ran into an issue with this today with my jenkins job - if there are no existing tags and you're using version:bump auto it fails. Manually running a 'patch' bump on my local machine resolved the issue. If this is not the case this ticket is describing I can open a new ticket.

@ivey
Copy link
Contributor Author

ivey commented Dec 10, 2012

Yeah. The docs say you need to manually make your first tag, either with a patch or with git tag if you have existing versions. Would be nice to remove that step.

@iiro
Copy link

iiro commented Mar 3, 2015

Hi,

sorry for commenting an old ticket - but I'm having an issue with Bamboo and auto-bumping. For some reason - when I run version:current it always returns 0.0.1 - although there are existing tags. The "git ls-remote" works perfectly as well.

As your readme says - I can ignore the VERSION file in CI as well - so it would be used internally by Berkshelf only when uploading etc?

@iiro
Copy link

iiro commented Mar 4, 2015

Some more information:

I got into Bamboo agent host. This does not look like a permission problem between Bamboo and Stash (repository location) as I can even push things back from Bamboo.

The current version just reports:
$ thor version:current
0.0.1

If I retag - things are ok then regarding Bamboo as well - until I do a new commit (SCMversion should auto-bump) and Bamboo does a new checkout with latest tags. I'm a bit puzzled...

Like this (example from you):
$ git tag 1.2.3
$ git push --tags

And tags are ok:
$ git tag -l
0.1.19
0.1.20
0.1.21
0.1.22
0.1.23
0.1.24
0.1.25

Any ideas are welcomed.

cmcdowell pushed a commit to cmcdowell/thor-scmversion that referenced this issue Aug 9, 2016
…an_up_spec_helper to master

* commit '69e0073206701a03a8967788cfa17e3342b83865':
  Clean up spec helper
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

3 participants