Skip to content

Commit 9a16905

Browse files
committed
updated #116 pipeline changes
1 parent 9f9986e commit 9a16905

File tree

3 files changed

+25
-15
lines changed

3 files changed

+25
-15
lines changed

ci/notes/CHANGELOG.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
We have enhanced the phlow so it's better to use, when building pipelines supporting pretested integration.
2-
Some issues for private repos should also be fixed.
1+
This new version contains a **Major** semantic change in the **wrapup** command. It has been returned to the default behaviour, so wrapup no longer requires `--hard` to add you changes, it does that automatically. I apologize for the inconvenience and confusion these changes to `wrapup` have introduced.
2+
The output and error handling is under improvement to make the tool more userfriendly to use.
33

44

5-
#### Features
5+
6+
#### Improvements
67
- upnext now has a prefix option #79 @groenborg
8+
- deliver now always change back to your default branch #75 @groenborg
9+
- made workon less verbose #115 @groenborg
10+
- return wrapup to old behaviour #89 @groenborg
11+
- wrapup now has a `--force` flag for a custom commit message #90 @groenborg
12+
13+
#### Bug fixes
14+
- private repo access for web api should be fixed #81 #83 #84@groenborg
15+
- fixed typo in workon #95 @randomsort
16+
- removed squash message #85 @groenborg
17+
718

8-
#### bug fixes
9-
- deliver now always change back to your default branch #75 @groenborg
10-
- private repo access for web api should be fixed #81 #83 # 84@groenborg

ci/pipeline.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,12 @@ jobs:
9696
- name: integration-test
9797
plan:
9898
- get: git-phlow
99+
- get: gp-version
100+
params: {bump: patch}
99101
- get: tollgate
100102
trigger: true
103+
- put: gp-version
104+
params: {file: gp-version/version}
101105
- task: integration
102106
file: tollgate/ci/tasks/run-tests.yml
103107
on_failure:
@@ -116,11 +120,9 @@ jobs:
116120
- name: build-phlow-artifacts
117121
plan:
118122
- get: gp-version
119-
params: {bump: patch}
120123
- get: git-phlow
121124
passed: [integration-test]
122-
- put: gp-version
123-
params: {file: gp-version/version}
125+
trigger: true
124126
- task: create-release
125127
file: git-phlow/ci/tasks/gen-bin.yml
126128
- put: phlow-artifact-linux-s3
@@ -135,13 +137,10 @@ jobs:
135137
plan:
136138
- get: gp-version
137139
- get: git-phlow
138-
passed: [integration-test]
139140
- get: phlow-artifact-linux-s3
140141
passed: [build-phlow-artifacts]
141-
trigger: true
142142
- get: phlow-artifact-darwin-s3
143143
passed: [build-phlow-artifacts]
144-
trigger: true
145144
- put: gh-release
146145
params:
147146
name: gp-version/version
@@ -158,7 +157,7 @@ jobs:
158157
- get: git-phlow #contains the formula update script
159158
- get: gp-version
160159
- get: phlow-artifact-darwin-s3
161-
passed: [shipit, build-phlow-artifacts]
160+
passed: [shipit]
162161
trigger: true
163162
- task: brew-release
164163
file: git-phlow/ci/tasks/brew-release.yml

phlow/deliver.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,19 @@ func Deliver(defaultBranch string) {
3333
}
3434

3535
if err := githandler.BranchRename(branchInfo.Current); err != nil {
36-
fmt.Println(err)
36+
//Conflicting branch name
37+
fmt.Printf("branch delivered/%s already exists in you local workspace \n", branchInfo.Current)
3738
return
3839
}
3940

4041
githandler.CheckOut(defaultBranch)
4142
if err != nil {
42-
fmt.Printf("Could not switch to branch %s \n", defaultBranch)
43+
fmt.Printf("There are still changes in your workspace %s \n", defaultBranch)
44+
fmt.Println("try: 'git status' to see the changes")
4345
return
4446
}
4547

48+
ui.PhlowSpinner.Stop()
4649
fmt.Printf("Delivered branch %s \n", ui.Format.Branch(branchInfo.Current))
4750
}
4851

0 commit comments

Comments
 (0)