mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-19 17:16:53 +00:00
fix(.circleci): obtain FALCO_VERSION without executing Falco
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
c19b2f14ad
commit
f44098cf2d
@ -94,9 +94,9 @@ jobs:
|
||||
- run:
|
||||
name: Publish deb
|
||||
command: |
|
||||
FALCO_VERSION=$(/build/userspace/falco/falco --version | awk '{print $3;}')
|
||||
jfrog bt u /build/release/falco-${FALCO_VERSION}.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} --deb bionic/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
|
||||
jfrog bt u /build/release/falco-${FALCO_VERSION}.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} --deb xenial/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
|
||||
FALCO_VERSION=$(sed -e 's/^"//' -e 's/"$//' <<< $(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3))
|
||||
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} --deb bionic/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
|
||||
jfrog bt u /build/release/falco-${FALCO_VERSION}-x86_64.deb falcosecurity/deb/falco-dev/${FALCO_VERSION} --deb xenial/main/amd64 --user poiana --key ${BINTRAY_SECRET} --publish
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
|
Loading…
Reference in New Issue
Block a user