File tree Expand file tree Collapse file tree 6 files changed +25
-8
lines changed
Expand file tree Collapse file tree 6 files changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ homepage: https://deployer.org/
55docs : https://deployer.org/docs
66logo : https://deployer.org/img/logo-48px.svg
77description : " Deployment tool for PHP."
8- recommended : true
8+ recommended : false
99requires :
1010 - php
1111drupal_versions :
Original file line number Diff line number Diff line change 55
66set -e
77
8+ # Get the directory where this script is located
9+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
10+ cd " $SCRIPT_DIR /.."
11+
812# Get release type from argument (default: auto)
913RELEASE_TYPE=${1:- " auto" }
1014
1115echo " 🚀 Starting full release process..."
1216
1317# Run git release first
1418echo " 📦 Running git release..."
15- ./release-git.sh $RELEASE_TYPE
19+ ./scripts/ release-git.sh $RELEASE_TYPE
1620
1721# Get the version
1822VERSION=$( node -p " require('./package.json').version" )
Original file line number Diff line number Diff line change 55
66set -e
77
8+ # Get the directory where this script is located
9+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
10+ cd " $SCRIPT_DIR /.."
11+
812# Get release type from argument (default: auto)
913RELEASE_TYPE=${1:- " auto" }
1014
Original file line number Diff line number Diff line change 33# Major release - convenience script for major releases
44# Usage: ./release-major.sh [publish]
55
6+ # Get the directory where this script is located
7+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
8+
69echo " 📦 Major release..."
710
811if [ " $1 " = " publish" ]; then
9- . /release-full.sh major
12+ " $SCRIPT_DIR /release-full.sh" major
1013else
11- . /release-git.sh major
14+ " $SCRIPT_DIR /release-git.sh" major
1215fi
Original file line number Diff line number Diff line change 33# Minor release - convenience script for minor releases
44# Usage: ./release-minor.sh [publish]
55
6+ # Get the directory where this script is located
7+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
8+
69echo " 📦 Minor release..."
710
811if [ " $1 " = " publish" ]; then
9- . /release-full.sh minor
12+ " $SCRIPT_DIR /release-full.sh" minor
1013else
11- . /release-git.sh minor
14+ " $SCRIPT_DIR /release-git.sh" minor
1215fi
Original file line number Diff line number Diff line change 33# Patch release - convenience script for patch releases
44# Usage: ./release-patch.sh [publish]
55
6+ # Get the directory where this script is located
7+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) "
8+
69echo " 📦 Patch release..."
710
811if [ " $1 " = " publish" ]; then
9- . /release-full.sh patch
12+ " $SCRIPT_DIR /release-full.sh" patch
1013else
11- . /release-git.sh patch
14+ " $SCRIPT_DIR /release-git.sh" patch
1215fi
You can’t perform that action at this time.
0 commit comments