From 5388e10649b51ec9a66cd88741d76a4f4817a000 Mon Sep 17 00:00:00 2001 From: Koen Schmeets Date: Sun, 25 Oct 2020 21:00:40 +0100 Subject: [PATCH] Travis: use force to overwrite tag --- .travis.yml | 12 +++--------- .travis/sign-macos.sh | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17e5b569..e9f6680a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ jobs: - git config --local user.name "solvespace-cd" - git config --local user.email "no-reply@solvespace.com" - export TRAVIS_TAG=${TRAVIS_TAG:-edge} - - git tag $TRAVIS_TAG + - git tag --force $TRAVIS_TAG deploy: provider: releases skip_cleanup: true @@ -36,8 +36,6 @@ jobs: name: ${TRAVIS_TAG:-edge} release_notes: $TRAVIS_COMMIT_MESSAGE file: build/bin/SolveSpace.dmg - on: - repo: solvespace/solvespace - stage: test name: "Ubuntu" os: linux @@ -58,7 +56,7 @@ jobs: - git config --local user.name "solvespace-cd" - git config --local user.email "no-reply@solvespace.com" - export TRAVIS_TAG=${TRAVIS_TAG:-edge} - - git tag $TRAVIS_TAG + - git tag --force $TRAVIS_TAG deploy: provider: releases skip_cleanup: true @@ -68,8 +66,6 @@ jobs: name: ${TRAVIS_TAG:-edge} release_notes: $TRAVIS_COMMIT_MESSAGE file: build/bin/RelWithDebInfo/solvespace.exe - on: - repo: solvespace/solvespace - stage: deploy name: "Windows with OpenMP" os: windows @@ -79,7 +75,7 @@ jobs: - git config --local user.name "solvespace-cd" - git config --local user.email "no-reply@solvespace.com" - export TRAVIS_TAG=${TRAVIS_TAG:-edge} - - git tag $TRAVIS_TAG + - git tag --force $TRAVIS_TAG deploy: provider: releases skip_cleanup: true @@ -89,8 +85,6 @@ jobs: name: ${TRAVIS_TAG:-edge} release_notes: $TRAVIS_COMMIT_MESSAGE file: build/bin/RelWithDebInfo/solvespace-openmp.exe - on: - repo: solvespace/solvespace - &deploy-snap stage: deploy name: Snap amd64 diff --git a/.travis/sign-macos.sh b/.travis/sign-macos.sh index df111ddb..3c047711 100755 --- a/.travis/sign-macos.sh +++ b/.travis/sign-macos.sh @@ -46,7 +46,7 @@ for (( ; ; )) do echo "Checking progress..." progress=$(xcrun altool --notarization-info "${notarize_uuid}" -u "${MACOS_APPSTORE_USERNAME}" -p "${MACOS_APPSTORE_APP_PASSWORD}" 2>&1) - echo "${progress}" + # echo "${progress}" if [ $? -ne 0 ] || [[ "${progress}" =~ "Invalid" ]] ; then echo "Error with notarization. Exiting"