Skip to content

Commit

Permalink
feat: automate version bumping and publishing for es-client
Browse files Browse the repository at this point in the history
  • Loading branch information
prdnk committed Jan 7, 2025
1 parent 4ca115b commit 025adbd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 69 deletions.
10 changes: 10 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,15 @@ tasks:
esclient:publish:
dir: ./libs/es-client
cmds:
- task: esclient:bump
- devbox run publish
silent: true

esclient:bump:
dir: ./libs/es-client
cmds:
- pnpm version patch
- git add package.json
- git commit -m "chore: bump version to {{.VERSION}} [skip ci]"
- git push
silent: true
1 change: 0 additions & 1 deletion libs/es-client/devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"pnpm run build"
],
"publish": [
"pnpm version patch",
"pnpm publish"
]
}
Expand Down
2 changes: 1 addition & 1 deletion libs/es-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onsonr/es",
"version": "0.0.3",
"version": "0.0.2",
"private": false,
"packageManager": "[email protected]",
"sideEffects": false,
Expand Down
67 changes: 0 additions & 67 deletions libs/es-client/scripts/check-version.mjs

This file was deleted.

0 comments on commit 025adbd

Please sign in to comment.