summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-11-28 15:18:01 -0600
committerGitHub <noreply@github.com>2023-11-28 15:18:01 -0600
commit05b80236679b325b445d6c95a2e74937ad228a77 (patch)
treec297940c85ddc1bff7a3052f3ed2d6e88ea65ec5 /.github/workflows
parent4d7c063f9e0fde9ce12af9b30e0e1ecdcf11c3d1 (diff)
downloadgitea-05b80236679b325b445d6c95a2e74937ad228a77.tar.gz
gitea-05b80236679b325b445d6c95a2e74937ad228a77.zip
Check for v prefix on tags for release clean name (#28257)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release-tag-rc.yml2
-rw-r--r--.github/workflows/release-tag-version.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/release-tag-rc.yml b/.github/workflows/release-tag-rc.yml
index bb839cb655..02ec1a1b2d 100644
--- a/.github/workflows/release-tag-rc.yml
+++ b/.github/workflows/release-tag-rc.yml
@@ -44,7 +44,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
diff --git a/.github/workflows/release-tag-version.yml b/.github/workflows/release-tag-version.yml
index 94d38ff035..635507c48d 100644
--- a/.github/workflows/release-tag-version.yml
+++ b/.github/workflows/release-tag-version.yml
@@ -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