write some bash command that I can run on CI that do the following: - retrieve the…
- User
write some bash command that I can run on CI that do the following:
- retrieve the description from the last commit (just the summary line, not the detailed description)
- create a tag. The tag value is already determined by my script and is $my_tag. The tag description should be: "New release. Last commit was: "
Assistant
To achieve the desired functionality, you can use the following set of bash commands in your CI script:
- Retrieve the description from the last commit (just the summary line, not the detailed description):
bashLAST_COMMIT_DESCRIPTION=$(git log -1 --pretty=format:%s)- Create a tag with the given
$my_tagvalue and the desired description:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.