only build on tags
This commit is contained in:
parent
d262ef26bf
commit
8938b63b12
1 changed files with 4 additions and 2 deletions
|
@ -12,8 +12,10 @@ cache:
|
||||||
|
|
||||||
build:cargo:
|
build:cargo:
|
||||||
stage: build
|
stage: build
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version # Print version info for debugging
|
- rustc --version && cargo --version # Print version info for debugging
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
- mkdir dist
|
- mkdir dist
|
||||||
- cp -vrt dist target/release/gardenserver templates
|
- cp -vrt dist target/release/gardenserver templates
|
||||||
|
|
Loading…
Reference in a new issue