1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

First 8 chars

This commit is contained in:
Laszlo Fogas 2019-11-12 21:55:01 +01:00
parent 16765d939d
commit 91bece3334
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ set -x
VERSION=$DRONE_TAG
if [ -z "$VERSION" ]; then
VERSION=$DRONE_COMMIT_SHA
VERSION=${DRONE_COMMIT_SHA:0:8}
fi
echo "Building $VERSION"

View File

@ -46,7 +46,7 @@ pipeline:
commands:
- go get github.com/laszlocph/togo
- (cd web/; go generate ./...)
- sh .drone.sh
- ./.drone.sh
when:
event: [ push, tag ]