Skip to content

Commit

Permalink
Chore(ci): Make package version independently refs #37
Browse files Browse the repository at this point in the history
  * @see: lmc-eu/code-quality-tools#113
  * each package bumps its version base on conventional commits
  * conventional changelog can determine the package bump itself
  * lerna bumps package independently
  * and as we are using deprecations, this is another safe lock to not
    produce breaking changes
  • Loading branch information
literat committed Feb 6, 2023
1 parent d317148 commit 9f439c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ pristine: ## Remove all `node_modules` and files
version: ## Create new version of packages
# @see https://github.com/lerna/lerna/tree/main/commands/version#readme
# Bump version of packages changed since the last release
# `./bin/ci/semver.sh` - determines semantic versioning keyword, e.g.: major, minor, patch
# --yes` - skip all confirmation prompts
$(PKG_MANAGER) $(MONOREPO_TOOL) version $(shell ./bin/ci/semver.sh) --yes --no-push $(MONOREPO_TOOL_FLAGS) $(MONOREPO_TOOL_NO_PUSH)
$(PKG_MANAGER) $(MONOREPO_TOOL) version --yes --no-push $(MONOREPO_TOOL_FLAGS) $(MONOREPO_TOOL_NO_PUSH)

publish: ## Publish packages to repository
# @ee: https://github.com/lerna/lerna/tree/main/commands/publish#readme
Expand Down
33 changes: 0 additions & 33 deletions bin/ci/semver.sh

This file was deleted.

0 comments on commit 9f439c6

Please sign in to comment.