Created
February 16, 2020 21:44
-
-
Save jgwill/e36e1cfbad325f9ce14b07917fec3b4d to your computer and use it in GitHub Desktop.
CI: get Latest commit message in a Workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10.0.0 | |
steps: | |
- checkout | |
- run: | |
name: Last Commit Message | |
command: git log --oneline --format=%B -n 1 HEAD > last_msg && cat last_msg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment