From 9d37f04622f09443649ce8e08bdacfa03b2ca07b Mon Sep 17 00:00:00 2001 From: Tim Teulings Date: Sat, 25 Mar 2023 20:08:22 +0100 Subject: [PATCH] First version of 'latest' release job using JReleaser - Fixed replacement of version (missing colon) --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8e1363929..a9cc70a2a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - name: Set version run: | VERSION=${{ github.event.inputs.version }} - sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}'/g" meson.build + sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}',/g" meson.build - name: Initialize meson project run: meson setup dist --wrap-mode nofallback @@ -65,7 +65,7 @@ jobs: - name: Tagging version with latest, commit and push run: | VERSION=latest - sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}'/g" meson.build + sed -i "s/^ *version: *'[0-9a-z.-]*', *$/ version: '${VERSION}',/g" meson.build git config --global user.email "framstag@users.noreply.github.com" git config --global user.name "Tim Teulings" git commit -a -m "Setting version to next snapshot version"