mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-08 03:39:20 +02:00
build(composer): update version 2.0.0-next to be 2.0.0-dev in composer.json
This commit is contained in:
parent
0eeedb9dc6
commit
5339669ea6
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "adaures/castopod",
|
||||
"version": "2.0.0-next1",
|
||||
"version": "2.0.0-dev",
|
||||
"type": "project",
|
||||
"description": "Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.",
|
||||
"homepage": "https://castopod.org",
|
||||
|
@ -3,6 +3,7 @@ set -e
|
||||
|
||||
VERSION=$1
|
||||
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
|
||||
echo "$( jq '.version = "'$COMPOSER_VERSION'"' composer.json )" > composer.json
|
||||
|
Loading…
Reference in New Issue
Block a user