forked from TrueCloudLab/frostfs-s3-gw
[#665] Add check if version is dirty
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
70ed9d79d6
commit
a217871334
1 changed files with 4 additions and 1 deletions
5
.github/workflows/builds.yml
vendored
5
.github/workflows/builds.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types: [opened, synchronize]
|
||||
types: [ opened, synchronize ]
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
|
||||
|
@ -38,6 +38,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