From cd1a850e54b3c6ef1da807efcda5465890c0848e Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Wed, 5 May 2021 12:12:50 -0700 Subject: [PATCH 1/2] Corrects references to old repo name in .travis.yml --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5967c62..515fbd3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,12 +15,12 @@ jobs: name: Project Syntax Verification script: make && make docker/run target=lint - stage: deploy - if: branch = master AND type = push AND repo = plus3it/terraform-aws-tardigrade-ram-principal-association + if: branch = master AND type = push AND repo = plus3it/terraform-aws-tardigrade-ram-share before_script: - | PRIOR_VERSION=$(git describe --abbrev=0 --tags) RELEASE_VERSION=$(grep current_version $TRAVIS_BUILD_DIR/.bumpversion.cfg | sed 's/^.*= //' ) - RELEASE_BODY="* [terraform-aws-tardigrade-ram-principal-association v$RELEASE_VERSION CHANGELOG](https://github.com/plus3it/terraform-aws-tardigrade-ram-principal-association/blob/$RELEASE_VERSION/CHANGELOG.md)" + RELEASE_BODY="* [terraform-aws-tardigrade-ram-share v$RELEASE_VERSION CHANGELOG](https://github.com/plus3it/terraform-aws-tardigrade-ram-share/blob/$RELEASE_VERSION/CHANGELOG.md)" export PRIOR_VERSION RELEASE_VERSION RELEASE_BODY script: skip before_deploy: @@ -37,5 +37,5 @@ jobs: draft: false on: branch: master - repo: plus3it/terraform-aws-tardigrade-ram-principal-association + repo: plus3it/terraform-aws-tardigrade-ram-share condition: '"$PRIOR_VERSION" != "$RELEASE_VERSION"' From c1d3246cdc3461284760ff592d8e1316cfa1e1ce Mon Sep 17 00:00:00 2001 From: Loren Gordon Date: Wed, 5 May 2021 12:14:22 -0700 Subject: [PATCH 2/2] Runs travis jobs only on merge to master or pull request events --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 515fbd3..ab2a693 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ stages: - lint - deploy +if: branch = master OR type = pull_request + jobs: include: - stage: lint