Update .gitlab-ci.yml

onboarding
Krille Fear 4 years ago
parent bccf3dbb16
commit 81548a4764

@ -173,6 +173,7 @@ snap:edge:
variables: variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE} SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: [main] only: [main]
before_script: [sudo apt install git]
script: [./scripts/publish-snap-edge.sh] script: [./scripts/publish-snap-edge.sh]
needs: ["build_linux"] needs: ["build_linux"]
dependencies: ["build_linux"] dependencies: ["build_linux"]
@ -187,6 +188,7 @@ snap:publish:
variables: variables:
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE} SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
only: [tags] only: [tags]
before_script: [sudo apt install git]
script: [./scripts/publish-snap-stable.sh] script: [./scripts/publish-snap-stable.sh]
needs: ["build_linux"] needs: ["build_linux"]
artifacts: artifacts:

Loading…
Cancel
Save