Update .gitlab-ci.yml

This commit is contained in:
Krille Fear 2021-04-25 08:12:10 +00:00
parent 34a242ffd5
commit ddbb64463a

View File

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