mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
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:
parent
e417d45b14
commit
827522643e
@ -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"
|
||||
|
@ -8,6 +8,10 @@
|
||||
{
|
||||
"name": "beta",
|
||||
"prerelease": true
|
||||
},
|
||||
{
|
||||
"name": "next",
|
||||
"prerelease": true
|
||||
}
|
||||
],
|
||||
"plugins": [
|
||||
|
@ -4,6 +4,7 @@
|
||||
- app/Resources/**
|
||||
+ app/***
|
||||
+ modules/***
|
||||
+ plugins/***
|
||||
+ public/***
|
||||
+ themes/***
|
||||
+ vendor/***
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user