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:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
types: [opened, synchronize]
|
types: [ opened, synchronize ]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
|
|
||||||
|
@ -38,6 +38,9 @@ jobs:
|
||||||
- name: Build CLI
|
- name: Build CLI
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
|
- name: Check version
|
||||||
|
run: if [[ $(make version) == *"dirty"* ]]; then exit 1; fi
|
||||||
|
|
||||||
- name: Save binary
|
- name: Save binary
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue