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

build(publish): fix and improve lerna publish #1422

Merged
merged 11 commits into from
Feb 21, 2019
Merged

build(publish): fix and improve lerna publish #1422

merged 11 commits into from
Feb 21, 2019

Conversation

redallen
Copy link
Contributor

What: Rewrite release.sh to (hopefully) more consistently do what we want.

Additional issues: Only way to fully test it is to actually do a release! I'm on standby to fix it if it goes wrong.

@redallen redallen requested review from dgutride, priley86, dlabaj, dlabrecq and jschuler and removed request for dgutride February 21, 2019 16:52
@patternfly-build
Copy link
Contributor

PatternFly-React preview: https://1422-pr-patternfly-react-patternfly.surge.sh

git rev-parse HEAD # helpful for debugging any lerna EUNCOMMIT errors

# Tag this new commit with each package change. Don't push it yet.
npx lerna version --conventional-commits --no-commit-hooks --no-git-tag-version --no-push --yes

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
npx lerna version --conventional-commits --no-commit-hooks --no-git-tag-version --no-push --yes
npx lerna version --conventional-commits --no-commit-hooks --no-git-tag-version --no-push --yes

# Undo that last commit locally
git reset --hard HEAD~1
# Now only if it publishes should we also push this commit to Github and do a Github release.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pretty nifty... seems it should work 👍

@redallen redallen requested a review from mcoker February 21, 2019 18:21
@dgutride dgutride merged commit 9c93186 into master Feb 21, 2019
@redallen redallen deleted the fix/travisci branch February 28, 2019 16:42
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

Successfully merging this pull request may close these issues.

None yet

5 participants