From 703dbeef1620ee582d595bb0a16bfdaf6dffb15c Mon Sep 17 00:00:00 2001 From: Artem <48178500+ElusAegis@users.noreply.github.com> Date: Sun, 15 Dec 2024 14:06:42 +0300 Subject: [PATCH] chore: added code comments --- .github/workflows/swift-pm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift-pm.yml b/.github/workflows/swift-pm.yml index d80b42ed5..b81f2fc62 100644 --- a/.github/workflows/swift-pm.yml +++ b/.github/workflows/swift-pm.yml @@ -3,6 +3,7 @@ name: Build and Publish EZKL iOS SPM package on: push: tags: + # Only support SemVer versioning tags - 'v[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+' @@ -21,7 +22,7 @@ jobs: # github.ref_name is provided by GitHub Actions and contains the tag name directly. TAG="${{ github.ref_name }}" echo "Original TAG: $TAG" - # Remove leading 'v' if present + # Remove leading 'v' if present to match the Swift Package Manager version format. NEW_TAG=${TAG#v} echo "Stripped TAG: $NEW_TAG" echo "TAG=$NEW_TAG" >> $GITHUB_ENV