mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 10:07:21 +02:00
First 8 chars
This commit is contained in:
parent
16765d939d
commit
91bece3334
@ -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"
|
||||
|
@ -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 ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user