mirror of
https://github.com/dsebastien/obsidian-journal-base.git
synced 2026-07-22 06:56:11 +00:00
build(all): updated
This commit is contained in:
parent
82538e9177
commit
80a812103a
2 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env npx tsx
|
||||
#!/usr/bin/env bun
|
||||
/**
|
||||
* Calculates the next semantic version based on conventional commits since the last tag.
|
||||
*
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* - feat: -> minor bump
|
||||
* - fix:, docs:, chore:, style:, refactor:, perf:, test:, build:, ci: -> patch bump
|
||||
*
|
||||
* Usage: npx tsx scripts/calculate-next-version.ts
|
||||
* Usage: bun scripts/calculate-next-version.ts
|
||||
* Output: Prints the suggested next version to stdout
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ fi
|
|||
|
||||
# Calculate suggested next version based on conventional commits
|
||||
print_step "Analyzing commits to determine next version..."
|
||||
SUGGESTED_VERSION=$(npx tsx scripts/calculate-next-version.ts 2>/dev/null)
|
||||
SUGGESTED_VERSION=$(bun scripts/calculate-next-version.ts 2>/dev/null)
|
||||
|
||||
if [ -z "$SUGGESTED_VERSION" ]; then
|
||||
print_warning "Could not determine suggested version from commits"
|
||||
|
|
@ -81,7 +81,7 @@ fi
|
|||
# Show commit analysis
|
||||
echo ""
|
||||
print_info "Version analysis:"
|
||||
npx tsx scripts/calculate-next-version.ts --verbose 2>/dev/null | while IFS= read -r line; do
|
||||
bun scripts/calculate-next-version.ts --verbose 2>/dev/null | while IFS= read -r line; do
|
||||
echo " $line"
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue