mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 09:22:01 +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
|
- main
|
||||||
- beta
|
- beta
|
||||||
- alpha
|
- alpha
|
||||||
|
- next
|
||||||
|
|
||||||
lint-php:
|
lint-php:
|
||||||
stage: quality
|
stage: quality
|
||||||
@ -120,6 +121,7 @@ bundle:
|
|||||||
- main
|
- main
|
||||||
- beta
|
- beta
|
||||||
- alpha
|
- alpha
|
||||||
|
- next
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
@ -148,6 +150,7 @@ release:
|
|||||||
- main
|
- main
|
||||||
- beta
|
- beta
|
||||||
- alpha
|
- alpha
|
||||||
|
- next
|
||||||
|
|
||||||
website:
|
website:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@ -176,5 +179,6 @@ docker:
|
|||||||
- main
|
- main
|
||||||
- beta
|
- beta
|
||||||
- alpha
|
- alpha
|
||||||
|
- next
|
||||||
variables:
|
variables:
|
||||||
- $CI_PROJECT_NAMESPACE == "adaures"
|
- $CI_PROJECT_NAMESPACE == "adaures"
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
{
|
{
|
||||||
"name": "beta",
|
"name": "beta",
|
||||||
"prerelease": true
|
"prerelease": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "next",
|
||||||
|
"prerelease": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
- app/Resources/**
|
- app/Resources/**
|
||||||
+ app/***
|
+ app/***
|
||||||
+ modules/***
|
+ modules/***
|
||||||
|
+ plugins/***
|
||||||
+ public/***
|
+ public/***
|
||||||
+ themes/***
|
+ themes/***
|
||||||
+ vendor/***
|
+ vendor/***
|
||||||
|
@ -56,7 +56,7 @@ docker-build-main-release:
|
|||||||
refs:
|
refs:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
docker-build-alpha-beta-release:
|
docker-build-prerelease:
|
||||||
stage: build
|
stage: build
|
||||||
image:
|
image:
|
||||||
name: docker.io/docker:23.0.3-dind
|
name: docker.io/docker:23.0.3-dind
|
||||||
@ -86,3 +86,4 @@ docker-build-alpha-beta-release:
|
|||||||
refs:
|
refs:
|
||||||
- alpha
|
- alpha
|
||||||
- beta
|
- beta
|
||||||
|
- next
|
||||||
|
@ -11,7 +11,7 @@ RUN apt-get update && \
|
|||||||
mv supercronic /usr/local/bin
|
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
|
ARG UNIT_VERSION=1.31.1
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
VERSION=$1
|
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
|
# replace composer.json version using jq
|
||||||
echo "$( jq '.version = "'$COMPOSER_VERSION'"' composer.json )" > composer.json
|
echo "$( jq '.version = "'$COMPOSER_VERSION'"' composer.json )" > composer.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user