From 001ba3de5e6c7f8aabe0d5a6e03e5f825a0df730 Mon Sep 17 00:00:00 2001 From: Tom Akehurst Date: Fri, 16 Feb 2024 21:08:47 +0000 Subject: [PATCH] Fixed Actions task to update README version --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 394fa64..697dea8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -109,13 +109,13 @@ jobs: - name: Update version run: | - # Replace version in readme.md + # Replace version in README.md LAST_VERSION=$(git describe --tag --abbrev=0) LAST_MINOR_VERSION=${LAST_VERSION%.*} NEW_VERSION=${{ needs.check-new-version.outputs.new_version }} NEW_MINOR_VERSION=${NEW_VERSION%.*} - sed -i s/${LAST_VERSION}/${NEW_VERSION}/g readme.md - sed -i s/${LAST_MINOR_VERSION}/${NEW_MINOR_VERSION}/g readme.md + sed -i s/${LAST_VERSION}/${NEW_VERSION}/g README.md + sed -i s/${LAST_MINOR_VERSION}/${NEW_MINOR_VERSION}/g README.md # Replace version in Dockerfiles LAST_VERSION=${LAST_VERSION%-*}