Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 1.54 KB

README.md

File metadata and controls

74 lines (54 loc) · 1.54 KB

traiter

Development

Bumping version

Preparation

Install bump2version.

Pre-release

Choose which version number category to bump following semver specification.

Test bumping version

bump2version --dry-run --verbose $CATEGORY

where $CATEGORY is the target version number category name, possible values are patch/minor/major.

Bump version

bump2version --verbose $CATEGORY

This will set version to major.minor.patch-alpha.

Release

Test bumping version

bump2version --dry-run --verbose release

Bump version

bump2version --verbose release

This will set version to major.minor.patch.

Running tests

Plain

cargo test

Inside Docker container:

docker-compose up

Bash script:

./run-tests.sh

PowerShell script:

.\run-tests.ps1