We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a09c6fb commit ed0e11cCopy full SHA for ed0e11c
.circleci/config.yml
@@ -84,7 +84,8 @@ commands:
84
steps:
85
- run:
86
name: 📑 Storing commit message
87
- command: git log origin/source -1 --oneline --pretty=%s > /home/circleci/GITMESSAGE.txt
+ command: if [[ $CIRCLE_TAG =~ v(.+)(-source) ]]; then git fetch origin --tags; git log ${CIRCLE_TAG} -1 --oneline --pretty=%s > /home/circleci/GITMESSAGE.txt; else git log origin/${CIRCLE_BRANCH} -1 --oneline --pretty=%s > /home/circleci/GITMESSAGE.txt; fi
88
+
89
persist-new-build:
90
91
- persist_to_workspace:
0 commit comments