I tried to add my last git commit message as a prefix for the Circle CI pipeline name by this orb export-commit-message
but it gives me a commit message as an environment variable.
I need to use it as a prefix for my pipeline’s name and some jobs name
Thanks in advance
version: 2.1
orbs:
ecm: pay-justice/export-commit-message@0.0.1
jobs:
build:
working_directory: ~/cms-api-server
docker:
- image: prontotools/alpine-git-curl
steps:
- checkout
- ecm/export_commit
- run:
name: $GIT_COMMIT_MESSAGE
command: >
curl google.com