From de8b0c0f3135e3da436ff2d80ecaf8e31cb78c0e Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Tue, 29 Oct 2024 15:19:42 +0100 Subject: [PATCH] use service release on windows --- .github/workflows/release.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 62b2c21935..69525c4e36 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,6 +15,8 @@ on: - database-exporter push: + branches: + - lma/release/github_actions tags: - '*.*.*-*-rc' - '*.*.*-*-alpha' @@ -46,7 +48,9 @@ env: \"docker-mainnet\": \"concordium/mainnet-node:${VERSION}\" }' REGISTRY: docker.io - SERVICE: "${{ inputs.service }}" + #SERVICE: "${{ inputs.service }}" + SERVICE: "node-windows" + VERSION_TAG: "7.0.5-4-rc" permissions: id-token: write @@ -79,7 +83,7 @@ jobs: run: | CARGO_VERSION=$(yq .package.version concordium-node/Cargo.toml) if [ -z "${{ env.SERVICE }}" ]; then - IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ github.ref }}" + IFS='-' read -r VERSION BUILD RELEASE_TYPE <<< "${{ env.VERSION_TAG }}" if [ ! "$VERSION" = "$CARGO_VERSION" ]; then echo "::error::${GITHUB_REF_NAME} does not match ${VERSION}." exit 1