Compare commits
2 Commits
6284881867
...
bc0091cd30
Author | SHA1 | Date |
---|---|---|
giles | bc0091cd30 | |
giles | d16c6e870a |
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