Loading .gitlab-ci.yml +21 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,27 @@ publish-ubuntu: - if: '$CI_COMMIT_TAG' when: manual publish-macos: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: publish variables: RELEASE_TYPE: beta before_script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - "rsync -avz Mac-build/EasyInstaller.app $PUBLISH_USER@$PUBLISH_URL:$PUBLISH_DEST" - ssh $PUBLISH_USER@$PUBLISH_URL "mv $PUBLISH_DEST/* $RELEASE_DEST/" rules: - if: '$CI_COMMIT_TAG' when: manual publish-windows: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: publish Loading Loading
.gitlab-ci.yml +21 −0 Original line number Diff line number Diff line Loading @@ -137,6 +137,27 @@ publish-ubuntu: - if: '$CI_COMMIT_TAG' when: manual publish-macos: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: publish variables: RELEASE_TYPE: beta before_script: - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - eval $(ssh-agent -s) - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null - mkdir -p ~/.ssh - chmod 700 ~/.ssh - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - "rsync -avz Mac-build/EasyInstaller.app $PUBLISH_USER@$PUBLISH_URL:$PUBLISH_DEST" - ssh $PUBLISH_USER@$PUBLISH_URL "mv $PUBLISH_DEST/* $RELEASE_DEST/" rules: - if: '$CI_COMMIT_TAG' when: manual publish-windows: image: registry.gitlab.e.foundation/e/devices/easy-installer:stable stage: publish Loading