From 2c2299a1c9e309cfa1ca4f9cf24385f7d7920603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Tue, 6 Dec 2022 17:14:24 +0100 Subject: [PATCH] Fix ids for matrix release notification workflows --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a21ff36f..e8c323519 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -336,7 +336,7 @@ jobs: curl --silent --location "${{ env.RELEASE_BASE_URL }}/corteza-webapp-${{ env.BUILD_VERSION }}.tar.gz" | \ tar -xzmok -C dist/webapp - name: "Pack" - run: | + run: | tar -C dist -czf corteza-${{ env.BUILD_VERSION }}-linux-amd64.tar.gz $(dir dist) - name: "Upload" run: | @@ -415,12 +415,12 @@ jobs: id: version run: | TAG=${GITHUB_REF#refs/tags/} - + echo "DOCKER_IMAGE_TAG=${TAG}" >> $GITHUB_ENV if [[ "$(echo ${TAG} | grep '-')" == "" ]]; then # when releasing patched version (YYYY.MM.PATCH) we - # tag alias (YYYY.MM) as well + # tag alias (YYYY.MM) as well echo "DOCKER_IMAGE_ALIAS=$(echo ${TAG} | cut -d '.' -f -2)" >> $GITHUB_ENV fi @@ -450,7 +450,7 @@ jobs: docker tag \ ${{ matrix.image }}:${{ env.DOCKER_IMAGE_TAG }} \ ${{ matrix.image }}:${{ env.DOCKER_IMAGE_ALIAS }} - + docker push \ ${{ matrix.image }}:${{ env.DOCKER_IMAGE_ALIAS }} @@ -461,7 +461,7 @@ jobs: steps: - name: "Send message via Matrix on successful release" if: ${{ !env.ACT }} - id: matrix-chat-release + id: matrix-chat-release-successful uses: fadenb/matrix-chat-message@v0.0.6 with: homeserver: ${{ secrets.MATRIX_HOME_SERVER }} @@ -472,7 +472,7 @@ jobs: - name: "Send message via Matrix on failed release" if: ${{ !env.ACT && failure() }} - id: matrix-chat-release + id: matrix-chat-release-failed uses: fadenb/matrix-chat-message@v0.0.6 with: homeserver: ${{ secrets.MATRIX_HOME_SERVER }}