ecload/.gitlab-ci.yml

18 lines
327 B
YAML

image: golang:latest
build:
script:
- make
dependencies: []
except:
- tags
release:
script:
- make
- 'curl -H "PRIVATE-TOKEN: $CI_BUILD_TOKEN" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases"'
artifacts:
paths:
- dist/*.tar.gz
only:
- tags