iotile / iotile/coretools

Add optional `expected_version` argument to `iotile release`

Open
#569 0 comments 0 reactions 0 assignees View on GitHub
iotile-build priority:medium type:enhancement
Dominant language
Python
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

For releasing from a CI system that includes the version number in an environment variable or tag, there should be a way to pass that into `iotile release` so that it verifies that the version it will release is what you expect and fails otherwise.

For example:

```
$ iotile release --expected-version=$CI_VERSION_STRING
```

This would remove any potential mistakes releasing the wrong version.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.