-
Notifications
You must be signed in to change notification settings - Fork 35
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
Changes not staged for commit #1
Comments
Hmmmmmm — I've done a very quick look into this and I think it's because multiple This is because internally to I don't want to fix this in I'm still hoping to get |
Oook — I've tested the hypothesis of replacing const execa = require('execa')
const hook = require('require-in-the-middle')
const { sync, stdout, stderr, shell, shellSync } = execa
const _execa = (...args) => {
const result = new Promise((resolve, reject) => {
try {
resolve(sync(...args))
} catch (e) {
reject(e)
}
})
result.stdout.pipe = () => {}
result.stderr.pipe = () => {}
}
Object.assign(_execa, execa)
_execa.sync = sync
_execa.stdout = stdout
_execa.stderr = stderr
_execa.shell = shell
_execa.shellSync = shellSync
delete require.cache[require.resolve('execa')]
hook(['execa'], () => _execa)
require('multi-semantic-release/bin/cli') And here's what happens after:
Next I'll try to bypass these checks. Hold on. |
I've missed the |
Anton thanks so much for testing, that's extremely useful to know! It would be possible then to fix this in |
🎉 This issue has been resolved in version 1.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
# [1.1.0](v1.0.3...v1.1.0) (2019-11-03) ### Bug Fixes * **package:** add missed sem-rel plugins ([f3c9318](f3c9318)) * **package:** update execa to be compatible with sem-rel 15.13.28 ([069bb4e](069bb4e)), closes [#7](#7) * force a release ([1e3ece5](1e3ece5)) ### Features * add execasync CLI flag to make execa calls be always synchronous ([693438c](693438c)), closes [#1](#1)
# [2.5.0](qiwi/multi-semantic-release@v2.4.3...v2.5.0) (2020-05-20) ### Bug Fixes * publish updated deps ([791f55a](qiwi/multi-semantic-release@791f55a)), closes [#1](qiwi/multi-semantic-release#1) ### Features * add execa queued hook ([042933e](qiwi/multi-semantic-release@042933e)) * apply queuefy to plugin methods instead of execa ([9ae7d0d](qiwi/multi-semantic-release@9ae7d0d))
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hi there. Nice to know that someone else is trying to make semantic monorepos.
Anyway, the problem.
When sem-rel-git plugin is enabled, git push fails because of not staged changes.
release config
build log
I have no idea, how to handle this case. Sem-rel core pushes tags right after
prepare
stepThe text was updated successfully, but these errors were encountered: