only build on tags

This commit is contained in:
Tomáš Mládek 2020-10-20 20:04:45 +02:00
parent d262ef26bf
commit 8938b63b12

View file

@ -12,11 +12,13 @@ cache:
build:cargo:
stage: build
only:
- tags
script:
- rustc --version && cargo --version # Print version info for debugging
- rustc --version && cargo --version # Print version info for debugging
- cargo build --release
- mkdir dist
- cp -vrt dist target/release/gardenserver templates
artifacts:
paths:
- dist/
- dist/