Skip to content

Commit bf2c169

Browse files
committed
add .project to find result
1 parent 79f56e5 commit bf2c169

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then
249249
exit 1
250250
fi
251251

252+
git fetch origin --tags
253+
252254
V=$(git describe --tags --abbrev=0 --match "v[0-9]*.[0-9]*.[0-9]*")
253255
V=$(tea semverator bump $V $LEVEL)
254256

src/hooks/usePantry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default function usePantry() {
167167
//TODO not very performant due to serial awaits
168168
const rv: ReturnType<typeof project>[] = []
169169
for await (const pkg of ls()) {
170-
const proj = project(pkg.project)
170+
const proj = {...project(pkg.project), ...pkg}
171171
if (pkg.project == name) {
172172
rv.push(proj)
173173
continue

0 commit comments

Comments
 (0)