Compare commits
2 Commits
694c0bf1d3
...
6284881867
Author | SHA1 | Date |
---|---|---|
giles | 6284881867 | |
giles | da0a03790a |
14
.drone.yml
14
.drone.yml
|
@ -18,12 +18,20 @@ steps:
|
||||||
image: alpine/git:latest
|
image: alpine/git:latest
|
||||||
commands:
|
commands:
|
||||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||||
- git checkout -b master
|
- git log -n 1
|
||||||
|
- git fetch
|
||||||
|
- git checkout master
|
||||||
|
- git log -n 1
|
||||||
- git pull origin master
|
- git pull origin master
|
||||||
|
- git log -n 1
|
||||||
# - git branch -D product-development
|
# - git branch -D product-development
|
||||||
- git checkout -b product-development
|
- git checkout -b product-development
|
||||||
#- git merge format-branch
|
#- git merge format-branch
|
||||||
|
- git log -n 1
|
||||||
- git merge --squash --no-commit --strategy-option=theirs format-branch
|
- git merge --squash --no-commit --strategy-option=theirs format-branch
|
||||||
|
# - git checkout format-branch **/*.*
|
||||||
|
- git status
|
||||||
|
- git log -n 1
|
||||||
environment:
|
environment:
|
||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: GIT_PASSWORD
|
from_secret: GIT_PASSWORD
|
||||||
|
@ -100,8 +108,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
- git config credential.helper '!f() { sleep 1; echo "username=$${GIT_USER}"; echo "password=$${GIT_PASSWORD}"; }; f'
|
||||||
- git add -A
|
- git add -A
|
||||||
- git commit -m "$${DRONE_COMMIT_MESSAGE}"
|
- git commit -m "converted to yml - $${DRONE_COMMIT_MESSAGE}"
|
||||||
- git push origin HEAD:product-development
|
- git push -f origin HEAD:product-development
|
||||||
environment:
|
environment:
|
||||||
GIT_PASSWORD:
|
GIT_PASSWORD:
|
||||||
from_secret: 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