Skip to content

Commit

Permalink
fix: release test
Browse files Browse the repository at this point in the history
  • Loading branch information
rkulinski committed Nov 24, 2023
1 parent cd0a957 commit bfd951a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-ranger/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function useRanger<TTrackElement>(
const rerender = React.useReducer(() => ({}), {})[1]
const resolvedOptions: RangerConfig<TTrackElement> = {
...options,
rerender: rerender,
rerender,
onChange: (instance) => {
rerender()
options.onChange?.(instance)
Expand Down
3 changes: 1 addition & 2 deletions scripts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,7 @@ async function run() {
console.info(` Github release created.`)

console.info(`Committing changes...`)
execSync('git add -A ')
execSync(`git commit --verbose -m "${releaseCommitMsg(version)}"`, { encoding: 'utf8' })
execSync(`git add -A && git commit --verbose -m "${releaseCommitMsg(version)}"`, { encoding: 'utf8' })

console.info()
console.info(` Committed Changes.`)
Expand Down

0 comments on commit bfd951a

Please sign in to comment.