Skip to content

Commit

Permalink
use service release on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Oct 29, 2024
1 parent 56e7535 commit de8b0c0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
- database-exporter

push:
branches:
- lma/release/github_actions
tags:
- '*.*.*-*-rc'
- '*.*.*-*-alpha'
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit de8b0c0

Please sign in to comment.