-
Notifications
You must be signed in to change notification settings - Fork 49
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
Showing
1 changed file
with
4 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,15 +30,17 @@ trap cleanup EXIT | |
|
||
go build -o dstask -mod=vendor cmd/dstask/main.go | ||
|
||
# initialise git repo | ||
# Create a random branch name, and configure dstask to use it | ||
BRANCH="branch_${RANDOM}" | ||
export DSTASK_BRANCH=$BRANCH | ||
|
||
# initialise git repo | ||
git -C $DSTASK_GIT_REPO init | ||
git -C $DSTASK_GIT_REPO checkout -b $BRANCH | ||
git -C $DSTASK_GIT_REPO config user.email "[email protected]" | ||
git -C $DSTASK_GIT_REPO config user.name "Test user" | ||
git -C $UPSTREAM_BARE_REPO init --bare | ||
|
||
|
||
# general task state management and commands | ||
./dstask help | ||
./dstask add test task +foo project:bar | ||
|