summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-11-29 06:02:26 +0800
committerGitHub <noreply@github.com>2023-11-28 16:02:26 -0600
commit5001f63c076ad1d82397fa33483dd9eb181303ef (patch)
tree7a0e09db3e91d6e9aacd0b1f415175088a4581de /.github
parent6d22ca15ab066d794b39773c1a11ddd853847348 (diff)
downloadgitea-5001f63c076ad1d82397fa33483dd9eb181303ef.tar.gz
gitea-5001f63c076ad1d82397fa33483dd9eb181303ef.zip
Check for v prefix on tags for release clean name (#28257) (#28270)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to '.github')
-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 2551ab6bd3..c112ed0e6c 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 a20e874aa2..2ec82281ce 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