]> source.dussan.org Git - gitea.git/commitdiff
align s3 files with docker naming (#31050) (#31052)
authorGiteabot <teabot@gitea.io>
Thu, 23 May 2024 00:06:52 +0000 (08:06 +0800)
committerGitHub <noreply@github.com>
Thu, 23 May 2024 00:06:52 +0000 (20:06 -0400)
.github/workflows/release-nightly.yml
Makefile

index 990f3c8e077c9b7c2b7358c34e49a16eb1757b4a..e9a4883e3128f2aafea9c0814fa2f612246f0690 100644 (file)
@@ -49,7 +49,7 @@ jobs:
         run: |
           REF_NAME=$(echo "${{ github.ref }}" | sed -e 's/refs\/heads\///' -e 's/refs\/tags\///' -e 's/release\/v//')
           echo "Cleaned name is ${REF_NAME}"
-          echo "branch=${REF_NAME}" >> "$GITHUB_OUTPUT"
+          echo "branch=${REF_NAME}-nightly" >> "$GITHUB_OUTPUT"
       - name: configure aws
         uses: aws-actions/configure-aws-credentials@v4
         with:
index e8006e40311b3e4dc1e9ef5babd4100e07872803..80efcbe46dfa65fefc7c5105b216e4e44aab5ed8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,7 +88,7 @@ ifneq ($(GITHUB_REF_TYPE),branch)
        GITEA_VERSION ?= $(VERSION)
 else
        ifneq ($(GITHUB_REF_NAME),)
-               VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME))
+               VERSION ?= $(subst release/v,,$(GITHUB_REF_NAME))-nightly
        else
                VERSION ?= main
        endif