Comments (5)
Hm, actually we dont use it in the app. So we should make git-commits-since and/or git-semver-tags work without git
, but with git log like string or array of commit message strings.
from app.
Use .listTags
instead of getLatestRelease
if pkg.workspaces
and/or lerna.json
is detected.
Lines 66 to 73 in 1a0f638
ref: https://octokit.github.io/rest.js/#api-Repos-listTags
Use listTags
, then .reduce
over them to .getTag
, so finally we'll have an array of tag objects which we should sort by tagger.date
to be able to get the latest tag (no matter for which package it is), the important thing is that date, because than we'll pass it to .getCommits
as { since: thatDate }
option. After all that, we'll have all needed commits, and actually to the same thing which you'll do on the @tunnckocore/release-cli
. Loop over all the commits, and for each of the packages inside each commit, call detectNextVersion
. The final result, will be an array of Result objects which includes { increment, lastVersion, nextVersion, pkg, ... }
So for each item in that array, we'll call .createTag
.
from app.
Needed changes in:
detect-next-version
parse-commit-message
new plugin (tunnckoCoreLabs/parse-commit-message#56)recommended-bump
@tunnckocore/release-cli
(the future@standard-release/cli
)
from app.
ref: Closing, based on conventional-commits/conventionalcommits.org#118 (comment)
Might not be needed. But out of curiosity, you can try to implement it as mentioned there - detect chore: release
commits messages (or whatever regex is given on the config option) and get all the commits between those commits, which will then be passed to detect-next-version
.
But in anyway, I don't think all this worth it and the time.
from app.
Also, latest comments on standard-release/cli#3
from app.
Related Issues (20)
- Should it wait all statuses to finish before release? HOT 6
- Add commit body & footer after the bullets list HOT 1
- template: the `commit.heading` is empty when (v1.0.0 / first) major release is published HOT 1
- Add config option for required status checks
- Reminder to not forget what is the trick with now.sh
- Support release template to link updated dependencies
- Don't rely on `context.github.repos.getTags` but on `new-release`'s `getVersions` HOT 1
- Use `new-release@4`
- Activate Renovate and add CircleCI job for auto releasing to Now.sh
- Publishes releases before CI ends HOT 1
- Release template
- Detect `[skip ci]` and `[ci skip]` insensitive
- For the config: allow a list of regexes for "required" status checks
- Reimplement from scratch - done (in ~100 lines as a whole) HOT 2
- Bug in rendering HOT 3
- remove npmRegistry config HOT 5
- Use `pkg.version` instead of `pkg.dist-tags.latest`? HOT 1
- Don't use NPM et al HOT 1
- Catch if getTags throws and fallback HOT 1
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 app.