Skip to content
Snippets Groups Projects
Commit 5339669e authored by Yassine Doghri's avatar Yassine Doghri
Browse files

build(composer): update version 2.0.0-next to be 2.0.0-dev in composer.json

parent 0eeedb9d
No related branches found
No related tags found
No related merge requests found
Pipeline #18188 failed
{ {
"name": "adaures/castopod", "name": "adaures/castopod",
"version": "2.0.0-next1", "version": "2.0.0-dev",
"type": "project", "type": "project",
"description": "Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.", "description": "Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.",
"homepage": "https://castopod.org", "homepage": "https://castopod.org",
......
...@@ -3,6 +3,7 @@ set -e ...@@ -3,6 +3,7 @@ set -e
VERSION=$1 VERSION=$1
COMPOSER_VERSION=$(echo "$VERSION" | sed -r 's/(alpha|beta|next)./\1/g') COMPOSER_VERSION=$(echo "$VERSION" | sed -r 's/(alpha|beta|next)./\1/g')
COMPOSER_VERSION=$(echo "$COMPOSER_VERSION" | sed -r 's/next[0-9]+/dev/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment