|
|
|
|
70
|
- echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
|
70
|
- echo "remove files in ${DRONE_REPO_NAME}"; rm -rf ./*
|
71
|
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
|
71
|
- echo "copy docs to ${DRONE_REPO_NAME}"; cp -r ../docs/* .
|
72
|
- ls
|
72
|
- ls
|
|
|
73
|
+ - head -n -2 ./README.md > README.md
|
73
|
- echo "## Version" >> ./README.md
|
74
|
- echo "## Version" >> ./README.md
|
74
|
- echo "${DRONE_TAG}" >> ./README.md
|
75
|
- echo "${DRONE_TAG}" >> ./README.md
|
75
|
- echo "" >> ./README.md
|
76
|
- echo "" >> ./README.md
|
76
|
- sed -i -e 1,4d ./globals.md
|
77
|
- sed -i -e 1,4d ./globals.md
|
77
|
- - head -n -3 ./README.md
|
|
|
78
|
- cat globals.md >> ./README.md
|
78
|
- cat globals.md >> ./README.md
|
79
|
- echo "add files in ${DRONE_REPO_NAME}"; git add -A
|
79
|
- echo "add files in ${DRONE_REPO_NAME}"; git add -A
|
80
|
- git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|
80
|
- git commit --allow-empty -m "Drone tagged as ${DRONE_TAG}"
|