mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +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
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue