Skip to content

Commit ea53e5f

Browse files
feat(ci): Add rc prefix to artifactory paths
Store rc/* branch builds in 'rc/' directory in Artifactory, separate from dev and stable builds. This provides clear organization of release candidate artifacts. Artifactory structure: - dev/: ionos-dev branch and PR builds - stable/: ionos-stable branch builds - rc/: rc/* branch builds
1 parent de54b4f commit ea53e5f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-artifact.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,12 +764,17 @@ jobs:
764764
run: |
765765
# PR builds are stored in a separate directory as "dev/pr/nextcloud-workspace-pr-<number>.zip"
766766
# Push to "ionos-dev" branch is stored as "dev/nextcloud-workspace-<ncVersion>.zip"
767+
# Push to "ionos-stable" branch is stored as "stable/nextcloud-workspace-<ncVersion>.zip"
768+
# Push to "rc/*" branches is stored as "rc/nextcloud-workspace-<ncVersion>.zip"
767769
768770
ARTIFACTORY_STAGE_PREFIX="dev"
769771
770772
# set ARTIFACTORY_STAGE_PREFIX=stable on ionos-stable branch
771773
if [ "${{ github.ref_name }}" == "ionos-stable" ]; then
772774
ARTIFACTORY_STAGE_PREFIX="stable"
775+
# set ARTIFACTORY_STAGE_PREFIX=rc on rc/* branches
776+
elif [[ "${{ github.ref_name }}" == "rc/"* ]]; then
777+
ARTIFACTORY_STAGE_PREFIX="rc"
773778
fi
774779
775780
export PATH_TO_DIRECTORY="${{ env.ARTIFACTORY_REPOSITORY_SNAPSHOT }}/${ARTIFACTORY_STAGE_PREFIX}"

0 commit comments

Comments
 (0)