Compare commits
17 Commits
f484ad72b1
...
4363acf0c7
Author | SHA1 | Date |
---|---|---|
giles | 4363acf0c7 | |
giles | 318014ce06 | |
giles | d0a9ce3769 | |
giles | 2d1d2420ca | |
giles | 1cad050d43 | |
giles | 355ad3fb0b | |
giles | fe1171a7a6 | |
giles | 349a723537 | |
giles | 3a17a92d05 | |
giles | 47d21392bd | |
giles | 43a8ea8682 | |
giles | a0172a5d2d | |
giles | 6c1f128d47 | |
giles | afe5437268 | |
giles | b99929d918 | |
giles | 8480a7b9e1 | |
giles | 6f4e2da714 |
|
@ -18,11 +18,8 @@ steps:
|
|||
image: alpine/git:latest
|
||||
commands:
|
||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||
- git checkout -b master
|
||||
- git pull origin master
|
||||
# - git branch -D product-development
|
||||
- git fetch
|
||||
- git checkout -b product-development
|
||||
#- git merge format-branch
|
||||
- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
|
@ -100,8 +97,8 @@ steps:
|
|||
commands:
|
||||
- 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 commit -m "converted to yml - $${DRONE_COMMIT_MESSAGE}"
|
||||
- git push -f origin HEAD:product-development
|
||||
environment:
|
||||
GIT_PASSWORD:
|
||||
from_secret: GIT_PASSWORD
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue