-
Notifications
You must be signed in to change notification settings - Fork 201
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
Adopting auto in existing project bumps several versions (how to undo mistakes?) #893
Comments
~/Projects/ericclemmons/codelift 58-release
❯ yarn auto release --dry-run
yarn run v1.19.2
$ /Users/eric/Projects/ericclemmons/codelift/node_modules/.bin/auto release --dry-run
ℹ info Last used release: v0.5.0
⚠ warning lerna notice cli v3.20.2
lerna success found 1 package
ℹ info Using release notes:
...
ℹ info Would have released (unless ran with "shipit"): v9.2.1 Now to figure out how it got to |
Progress! Deleting the bad tag & removing the release note seems to fix the references in GitHub Actions (despite local --dry-run still seeing v9.2.1):
- codelift: 0.5.0 => 0.5.1-canary.58.45c171c.0 Now to figure out why local (or remote!) was ever coming up with |
This is awesome that you're using |
@hipstersmoothie Don't worry about digging in too much right now, I'm still hacking away in https://github.com/ericclemmons/codelift/pull/58 until I hit a brick wall or come out the other side :D |
This is def a bug on our end. It's because we find your examples, find the one with the highest version, which happens to be |
Removing yarn auto release --dry-run
yarn run v1.19.2
$ /Users/eric/Projects/ericclemmons/codelift/node_modules/.bin/auto release --dry-run
ℹ info Last used release: v0.5.0
ℹ info Using release notes:
...
ℹ info Would have released (unless ran with "shipit"): v0.5.0
✨ Done in 5.88s. Notice it didn't increment at all 🤔 |
Getting closer! Going to remove the
|
Whoops, I'm a dummy. I missed that |
This is just kinda bad messaging. Incoming PR to make what's happening clearer |
First success!!! 🎉 https://github.com/ericclemmons/codelift/pull/58/checks?check_run_id=408308903 I'm cool to keep this open, but we can break off to discuss the following separately:
|
Done in #894
Please submit a pr! It's valuable to have different points of view. |
I also wouldn't instruct users to install the canary tag. Publishing to that tag is more just to publish under something other than latest. It acts as a catch all. Having a tag like
You might not have noticed but this is already happening. Check your PR 😉 https://github.com/ericclemmons/codelift/pull/58#issue-367063354 |
Big heads up though: GitHub actions don't pass secrets to forks at all! So forked PRs will not get canary releases to be published. |
@ericclemmons you should run |
Also |
Oh, holy crap! It was so subtle I didn't notice it! What do you think about a PR for it to be a little more visual?
|
I'm always down for more emoji! |
Two other plugins you might like are https://intuit.github.io/auto/plugins/all-contributors/README.html |
Thanks for your attention tonight @hipstersmoothie. This has been working out great so far! Like, I'm honestly surprised how well it works! This isn't an easy problem to solve 😅 On the topic of monorepos, I'm looking into alternatives for https://github.com/aws-amplify/amplify-js/:
|
First, this project is great! It's so much better than what I started years ago with https://github.com/ericclemmons/github-semantic-version. 😍
Describe the bug
I'm working to switch from manual releases (with https://github.com/marketplace/actions/release-drafter) to auto in https://github.com/ericclemmons/codelift/pull/58.
With the GitHub finally working (using the lerna
release.sh
in https://intuit.github.io/auto/pages/getting-started.html#enabling-skip-release-label), my PR went fromv0.5.0
tov9.2.1
(https://github.com/ericclemmons/codelift/releases/tag/v9.2.1).To Reproduce
canary
release isn't cut, but instead a real one.Expected behavior
Version would be incremented from what's in
lerna.json
, or the currentversion
withinpackage.json
.There be a way of running a "first time" dry-run so that migrating
auto
can be safely validated before real tags/releases/packages are published.But in the GitHub Action,
yarn auto shipit
returns:Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: