only build on tags
This commit is contained in:
parent
d262ef26bf
commit
8938b63b12
1 changed files with 4 additions and 2 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue