build: release next major version as prerelease

- edit .releaserc + gitlab-ci to add next branch
- add plugins folder to bundle

BREAKING CHANGE: next major release including plugins architecture
This commit is contained in:
Yassine Doghri 2024-06-10 16:34:13 +00:00
parent e417d45b14
commit 827522643e
6 changed files with 13 additions and 3 deletions

View File

@ -53,6 +53,7 @@ lint-commit-msg:
- main
- beta
- alpha
- next
lint-php:
stage: quality
@ -120,6 +121,7 @@ bundle:
- main
- beta
- alpha
- next
release:
stage: release
@ -148,6 +150,7 @@ release:
- main
- beta
- alpha
- next
website:
stage: deploy
@ -176,5 +179,6 @@ docker:
- main
- beta
- alpha
- next
variables:
- $CI_PROJECT_NAMESPACE == "adaures"

View File

@ -8,6 +8,10 @@
{
"name": "beta",
"prerelease": true
},
{
"name": "next",
"prerelease": true
}
],
"plugins": [

View File

@ -4,6 +4,7 @@
- app/Resources/**
+ app/***
+ modules/***
+ plugins/***
+ public/***
+ themes/***
+ vendor/***

View File

@ -56,7 +56,7 @@ docker-build-main-release:
refs:
- main
docker-build-alpha-beta-release:
docker-build-prerelease:
stage: build
image:
name: docker.io/docker:23.0.3-dind
@ -86,3 +86,4 @@ docker-build-alpha-beta-release:
refs:
- alpha
- beta
- next

View File

@ -11,7 +11,7 @@ RUN apt-get update && \
mv supercronic /usr/local/bin
FROM docker.io/php:8.2-cli
FROM docker.io/php:8.3-cli
ARG UNIT_VERSION=1.31.1

View File

@ -2,7 +2,7 @@
set -e
VERSION=$1
COMPOSER_VERSION=$(echo "$VERSION" | sed -r 's/(alpha|beta)./\1/g')
COMPOSER_VERSION=$(echo "$VERSION" | sed -r 's/(alpha|beta|next)./\1/g')
# replace composer.json version using jq
echo "$( jq '.version = "'$COMPOSER_VERSION'"' composer.json )" > composer.json