Skip to content

Commit

Permalink
Release v1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjiaxuan committed Jan 18, 2024
1 parent 1fac171 commit b26fd6d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog

Tag ranges `v0.1.0...v1.12.0` (31). [All GitHub Releases](https://github.com/lvjiaxuan/release/releases).
Tag ranges `v0.1.0...v1.12.1` (32). [All GitHub Releases](https://github.com/lvjiaxuan/release/releases).

## v1.12.1 <sub>(2024-01-18)</sub>
[Compare changes](https://github.com/lvjiaxuan/release/compare/v1.12.0...v1.12.1)

### &nbsp;&nbsp;&nbsp;🐛 Fixes

- **release**: catch unknown error &nbsp;-&nbsp; by @lvjiaxuan [<samp>(1fac1)</samp>](https://github.com/lvjiaxuan/release/commit/1fac171)

## v1.12.0 <sub>(2024-01-18)</sub>
[Compare changes](https://github.com/lvjiaxuan/release/compare/v1.11.0...v1.12.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lvr",
"type": "module",
"version": "1.12.0",
"version": "1.12.1",
"private": false,
"description": "My own release cli tool.",
"author": "lvjiaxuan <471501748@qq.com> (https://github.com/lvjiaxuan)",
Expand Down
4 changes: 3 additions & 1 deletion src/command/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import process from 'node:process'
import path from 'node:path'
import fsp from 'node:fs/promises'
import p from 'picocolors'
import { info } from '@actions/core'
import { info, setOutput } from '@actions/core'
import { $ } from 'execa'
import type { PublishOption } from '..'

Expand All @@ -20,6 +20,8 @@ export async function publish(options: PublishOption) {
return false
})()

setOutput('isWorkspace', isWorkspace)

const publishCommand = `pnpm publish${isWorkspace ? ' -r --report-summary' : ''} --no-git-checks`
info(`${p.blue(publishCommand)}\n`)
await $$`${publishCommand}`
Expand Down

0 comments on commit b26fd6d

Please sign in to comment.