From 1fd45eb841067cab03a8b4fc1e9227ea6af15633 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sun, 3 Jan 2021 08:37:16 +0100 Subject: [PATCH] include release version in slack notification. --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 320f08798..be94d1584 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,10 +148,12 @@ jobs: tar -xzvf dockerize-linux-amd64-v0.6.0.tar.gz rm dockerize-linux-amd64-v0.6.0.tar.gz ./dockerize -template prod-eu-west/services/client-api/_lupo.auto.tfvars.tmpl:prod-eu-west/services/client-api/_lupo.auto.tfvars - + ./dockerize -template test/services/client-api/_lupo.auto.tfvars.tmpl:test/services/client-api/_lupo.auto.tfvars + git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add prod-eu-west/services/client-api/_lupo.auto.tfvars + git add test/services/client-api/_lupo.auto.tfvars git commit -m "Adding lupo git variables for tag ${{ steps.extract_variables.outputs.GIT_TAG }}" - name: Push changes uses: ad-m/github-push-action@v0.6.0 @@ -166,11 +168,12 @@ jobs: with: channel: '#ops' color: 'good' - text: 'A new version of the has been released to production.' + text: 'Version of the has been released to production and test.' failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed' fields: | [{ "title": "Commit message", "value": "${{ github.event.head_commit.message }}" }, { "title": "Committed by", "value": "", "short": true }, { "title": "Commit SHA", "value": "", "short": true }, { "title": "Repository", "value": "", "short": true }, - { "title": "Branch", "value": "", "short": true }] + { "title": "Branch", "value": "", "short": true }, + { "title": "Release", "value": "", "short": true }]