From 7c0e5afca9fcb3bbf5f17406ab814393ed3c79dc Mon Sep 17 00:00:00 2001 From: Jon M Date: Thu, 2 Jan 2025 10:15:05 +0000 Subject: [PATCH] Update VERSION logic --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ccd6fc5..8ae841d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,7 +15,7 @@ jobs: - name: Version run: | version=`git describe --abbrev=0 --tags` && - sed -i s/\[0-9]\.\[0-9]\.\[0-9]/$version/ VERSION + sed -iE "s|[0-9]\.[0-9]\.[0-9]|$version|" VERSION ./scripts/version.sh - name: Push to Cocoapods env: