chore: verbose.
This commit is contained in:
parent
754d526b49
commit
8ee3b159b3
@ -50,23 +50,26 @@ steps:
|
|||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y git
|
- apt-get update && apt-get install -y git
|
||||||
|
- mkdir $HOME/.ssh/
|
||||||
|
- echo "$key" > $HOME/.ssh/id_git_rsa
|
||||||
- git fetch --tags -p
|
- git fetch --tags -p
|
||||||
- PREV=$(git describe --tags --abbrev=0)
|
- PREV=$(git describe --tags --abbrev=0)
|
||||||
- ./build.sh --publish --from-ci
|
- ./build.sh --publish --from-ci
|
||||||
- git remote add pushing https://$GITEA_USR:$GITEA_PASS@gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform.git
|
|
||||||
- VER=$(git describe --tags --abbrev=0)
|
- VER=$(git describe --tags --abbrev=0)
|
||||||
- CHANGELOG=$(git log $PREV..HEAD --pretty="- %s")
|
- CHANGELOG=$(git log $PREV..HEAD --pretty="- %s")
|
||||||
- echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
|
- echo "**$VER**\n\n$CHANGELOG\n\n--------------------------------------------------------------------\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
|
||||||
- git add CHANGELOG.md
|
- git add CHANGELOG.md
|
||||||
- git commit -m "Changelog for $VER [CI SKIP]"
|
- git commit -m "Changelog for $VER [CI SKIP]"
|
||||||
- git push pushing master
|
- git push origin master
|
||||||
- git push pushing --tags
|
- git push origin --tags
|
||||||
environment:
|
environment:
|
||||||
TZ: Europe/Paris
|
TZ: Europe/Paris
|
||||||
GITEA_USR:
|
GITEA_USR:
|
||||||
from_secret: giteaUsr
|
from_secret: giteaUsr
|
||||||
GITEA_PASS:
|
GITEA_PASS:
|
||||||
from_secret: giteaPass
|
from_secret: giteaPass
|
||||||
|
key:
|
||||||
|
from_secret: privateKey
|
||||||
|
|
||||||
- name: scpFiles
|
- name: scpFiles
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
|
Loading…
Reference in New Issue
Block a user