Giter Site home page Giter Site logo

Comments (8)

halkeye avatar halkeye commented on May 22, 2024

Publish fails, probably due to a lack of tag?

Current version: 0.0.1
Traceback (most recent call last):
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/bin/semantic-release", line 11, in <module>
    sys.exit(main())
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/semantic_release/cli.py", line 171, in cmd_publish
    return publish(**kwargs)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/semantic_release/cli.py", line 114, in publish
    level_bump = evaluate_version_bump(current_version, kwargs['force_level'])
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/semantic_release/history/logs.py", line 35, in evaluate_version_bump
    for _hash, commit_message in get_commit_log('v{0}'.format(current_version)):
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/semantic_release/vcs_helpers.py", line 18, in get_commit_log
    for commit in repo.iter_commits(rev):
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/git/objects/commit.py", line 265, in _iter_from_process_or_stream
    finalize_process(proc_or_stream)
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/git/util.py", line 154, in finalize_process
    proc.wait()
  File "/home/halkeye/.virtualenvs/it-jira-bamboohr/local/lib/python2.7/site-packages/git/cmd.py", line 309, in wait
    raise GitCommandError(self.args, status, self.proc.stderr.read())
git.exc.GitCommandError: 'git rev-list ...v0.0.1 --' returned with exit code 128
stderr: 'fatal: bad revision '...v0.0.1'```

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024

same with version

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024
git tag v0.0.1
git remote add origin [email protected]:halkeye/test_test_test_test.git
git push -u origin master
halkeye@blackpanther:~/git/it-jira-bamboohr/a/i_like_pie$ semantic-release publish
Current version: 0.0.1
Creating new version..
Current version: 0.0.1
No release will be made.
Version failed, no release will be published.

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024
date > date
git add date
git commit -m "feat(date): I love dates"
semantic-release publish

^^^ would have worked, but i entered the wrong GH_TOKEN so it failed, now I can't publish though I can changelog.

I'm thinking part of the problem might be my "feat(*): feature" message?

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024

I tried adding a few more commits:

...
git commit -m "feat(*): dates are chewie"
...
git commit -m "feat: dates are chewie"

but changelog just shows the initial release..

I've found now that I can publish again, and changelog shows the last release.

Does that sorta describe the flow? commit, publish, changelog?

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024

I will continue to poke at this to see if i can't make it more user friendly

#68 helps a bit

from python-semantic-release.

relekang avatar relekang commented on May 22, 2024

@halkeye Is this fixed by #68?

from python-semantic-release.

halkeye avatar halkeye commented on May 22, 2024

I think its safe to close. I'm having a hard time setting up the reproduction steps quickly enough to test it.

from python-semantic-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.