forked from TrueCloudLab/frostfs-rest-gw
[#63] Fail build on dirty version
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
parent
dd35b859e1
commit
360e80b949
1 changed files with 3 additions and 0 deletions
3
.github/workflows/builds.yml
vendored
3
.github/workflows/builds.yml
vendored
|
@ -36,6 +36,9 @@ jobs:
|
|||
- name: Build CLI
|
||||
run: make
|
||||
|
||||
- name: Check version
|
||||
run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi
|
||||
|
||||
- name: Save binary
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue