generated from Chemaclass/bash-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6cdf101
commit 7de385a
Showing
6 changed files
with
41 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 19 additions & 8 deletions
27
tests/e2e/snapshots/main_test_sh.test_main_without_args.snapshot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,21 @@ | ||
Usage: deploy [branch name] [--force (optional)] | ||
Arguments | ||
branch name to deploy | ||
Options | ||
--force ignore that your current branch as ahead commits | ||
Usage: deploy [options] [branch name] [target branch] [development branch] | ||
|
||
Arguments: | ||
branch name The branch name to deploy (SOURCE_BRANCH). | ||
target branch The target branch to deploy to (TARGET_BRANCH, optional). | ||
development branch The development branch (DEVELOPMENT_BRANCH, optional). | ||
|
||
Options: | ||
--debug Enable debug mode (set -x). | ||
--dry-run Simulate the deployment process without making any changes. | ||
--force Ignore that your current branch has ahead commits. | ||
-s, --source Specify the source branch. | ||
-t, --target Specify the target branch. | ||
-d, --development Specify the development branch. | ||
|
||
Examples: | ||
- deploy main | ||
- deploy hotfix/... | ||
- deploy hotfix/... --force | ||
deploy main | ||
deploy main --dry-run | ||
deploy hotfix/... --force | ||
deploy feature/... --dry-run --force | ||
deploy main feature-branch --dry-run |