Compare commits
No commits in common. "063a3d637fd9958320693744edb3ca1dc0ca8a35" and "6267e0baf816f996af75bea33e4e5f69817ab961" have entirely different histories.
063a3d637f
...
6267e0baf8
2 changed files with 4 additions and 14 deletions
|
@ -1,8 +1,3 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
tags: true
|
||||
|
||||
pipeline:
|
||||
test:
|
||||
image: debian
|
||||
|
@ -15,14 +10,10 @@ pipeline:
|
|||
- echo /opt/instantclient_* > /etc/ld.so.conf.d/oracle-instantclient.conf
|
||||
- ldconfig
|
||||
- ./tests.sh --quiet
|
||||
when:
|
||||
event: push
|
||||
build:
|
||||
image: debian
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
branch: master
|
||||
commands:
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -qq update < /dev/null > /dev/null
|
||||
- DEBIAN_FRONTEND=noninteractive apt-get -y -qq upgrade < /dev/null > /dev/null
|
||||
|
@ -32,16 +23,12 @@ pipeline:
|
|||
publish:
|
||||
image: plugins/gitea-release
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
branch: master
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://gitea.zionetrix.net
|
||||
files:
|
||||
- dist/*
|
||||
- deb_dist/*
|
||||
files: dist/* deb_dist/*
|
||||
checksum:
|
||||
- md5
|
||||
- sha512
|
||||
|
|
3
build.sh
3
build.sh
|
@ -9,6 +9,9 @@ cd $( dirname $0 )
|
|||
echo "Clean previous build..."
|
||||
rm -fr dist deb_dist
|
||||
|
||||
echo "Fetch git tags..."
|
||||
git fetch --tags
|
||||
|
||||
echo "Detect version using git describe..."
|
||||
VERSION="$( git describe --tags|sed 's/^[^0-9]*//' )"
|
||||
|
||||
|
|
Loading…
Reference in a new issue