Comments (8)
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.
same with version
from python-semantic-release.
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.
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.
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.
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.
@halkeye Is this fixed by #68?
from python-semantic-release.
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)
- GitHub action raises stderr: 'error: src refspec main matches more than one HOT 3
- multibranch releases convert semver version to pep440 version HOT 2
- Relative template_dir path causes TemplateNotFound error in monorepo configuration HOT 3
- Updating version_variables that follow tag_format HOT 1
- Using with `rye build` HOT 2
- Append release notes to changelog instead of overwrite HOT 3
- Wrong way to add asset ? HOT 3
- Unclear how to release a patch of an old version HOT 5
- Should I have access to version in my custom changelog-template? HOT 2
- Undocumented custom domain setting
- Add config option to disable Changelog HOT 3
- feat(GHA): add dependency spec to gha definition
- Github Actions does not bump the version while `semantic-release publish` does. HOT 2
- `version_toml` config to support complex dependencies format in `project.toml` HOT 2
- missing end-of-line character when writing to $GITHUB_OUTPUT HOT 2
- Update rich version dependency HOT 1
- Let a matrix as input in directory option of the action HOT 2
- How to upload the package to AWS Codeartifact instead if PyPi?
- Version Command failed Create Release step under Github Enterprise VCS HOT 8
- Allow `version --print` outside of release branches HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-semantic-release.