]> source.dussan.org Git - gitea.git/commitdiff
Check for v prefix on tags for release clean branch name (#28257) (#28270) (#28273)
authorJohn Olheiser <john.olheiser@gmail.com>
Tue, 28 Nov 2023 23:56:50 +0000 (17:56 -0600)
committerGitHub <noreply@github.com>
Tue, 28 Nov 2023 23:56:50 +0000 (18:56 -0500)
.github/workflows/release-tag-version.yml

index 6d72246399e8408d40f0f49b8b753c623743b3ba..53f9659784d24fe9f27515e5a2c3dc2418dada1a 100644 (file)
@@ -46,7 +46,7 @@ jobs:
       - name: Get cleaned branch name
         id: clean_name
         run: |
-          REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\///' -e 's/release\/v//')
+          REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\/v//' -e 's/release\/v//')
           echo "Cleaned name is ${REF_NAME}"
           echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
       - name: configure aws