Update .gitlab-ci.yml

This commit is contained in:
Krille Fear 2021-04-25 07:16:02 +00:00
parent 0b65d3192b
commit 34a242ffd5
1 changed files with 2 additions and 0 deletions

View File

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