Compare commits
11 Commits
6284881867
...
694c0bf1d3
Author | SHA1 | Date |
---|---|---|
giles | 694c0bf1d3 | |
giles | c5a59bb5da | |
giles | 47d21392bd | |
giles | 43a8ea8682 | |
giles | a0172a5d2d | |
giles | 6c1f128d47 | |
giles | afe5437268 | |
giles | b99929d918 | |
giles | 8480a7b9e1 | |
giles | 6f4e2da714 | |
giles | f484ad72b1 |
11
.drone.yml
11
.drone.yml
|
@ -18,12 +18,19 @@ steps:
|
|||
image: alpine/git:latest
|
||||
commands:
|
||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git log -n 1
|
||||
- git checkout -b master
|
||||
- git log -n 1
|
||||
- git pull origin master
|
||||
- git log -n 1
|
||||
# - git branch -D product-development
|
||||
- git checkout -b product-development
|
||||
#- git merge format-branch
|
||||
- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||
#- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||
- git log -n 1
|
||||
- git checkout format-branch **/*.*
|
||||
- git status
|
||||
- git log -n 1
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
@ -101,7 +108,7 @@ steps:
|
|||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git add -A
|
||||
- git commit -m "$${DRONE_COMMIT_MESSAGE}"
|
||||
- git push origin HEAD:product-development
|
||||
- git push -f origin HEAD:product-development
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue