mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-24 09:20:31 +00:00
First 8 chars
This commit is contained in:
parent
16765d939d
commit
91bece3334
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue