-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Labels
bugSomething isn't working properlySomething isn't working properlyconfirmedPrevent from becoming stalePrevent from becoming stale
Description
Bug Report
Description
I have been doing a two-step process to use psr
to stage changes before making a release as discussed in #1125, but 10.3.0 introduced a breaking change for this workflow
Expected behavior
It should properly stage changes without requiring a commit_sha
Actual behavior
A commit_sha
is required as of 39b647b when running semantic-release version ...
inside of a GitHub Actions pipeline. If I set GITHUB_OUTPUT
locally then I can see the error:
$ GITHUB_OUTPUT=foo uv run --frozen semantic-release version --no-changelog --skip-build --no-commit --no-tag --no-push --no-vcs-release
WARNING:root:Found .git/ in higher parent directory rather than provided in configuration.
[10:11:06] WARNING Token value is missing! config.py:779
WARNING:semantic_release:Token value is missing!
1.5.0
The next version is: 1.5.0! 🚀
Skipping build due to --skip-build flag
::ERROR:: some required outputs were not set: commit_sha
Run semantic-release in very verbose mode (-vv) to see the full traceback.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working properlySomething isn't working properlyconfirmedPrevent from becoming stalePrevent from becoming stale