From 7c3da7176fd8386810b2f565d97d17e39ef7c232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Bizjak?= Date: Thu, 11 Apr 2024 14:30:29 +0200 Subject: [PATCH] Signmessage. --- .github/workflows/release-sign-message-docker.yml | 5 ++++- signMessage/package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-sign-message-docker.yml b/.github/workflows/release-sign-message-docker.yml index 8280d4d8..d622c965 100644 --- a/.github/workflows/release-sign-message-docker.yml +++ b/.github/workflows/release-sign-message-docker.yml @@ -39,6 +39,9 @@ jobs: if docker manifest inspect ${FULL_IMAGE_TAG} > /dev/null; then echo "::error ${FULL_IMAGE_TAG} already exists" exit 1 + elif [ ! "${{ github.ref_name }}" = "signmessage/${VERSION}" ]; then + echo "::error Expected tag ${EXPECTED_TAG} does not match the version ${VERSION}." + exit 1 else # Store the full image tag into a tag variable for the following step. echo "tag=${FULL_IMAGE_TAG}" > "$GITHUB_OUTPUT" @@ -50,4 +53,4 @@ jobs: file: ./signMessage/Dockerfile push: true platforms: linux/amd64 - tags: ${{ steps.meta.outputs.tag }} \ No newline at end of file + tags: ${{ steps.meta.outputs.tag }} diff --git a/signMessage/package.json b/signMessage/package.json index 69e65911..7df2fc27 100644 --- a/signMessage/package.json +++ b/signMessage/package.json @@ -1,6 +1,6 @@ { "name": "sign_message", - "version": "0.2.1", + "version": "0.2.2", "private": true, "dependencies": { "@concordium/browser-wallet-api-helpers": "^0.2.0",