Updates git-commit-with-jira.sh and jira-get-packages-with-closed-issues.sh
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
jira_ticket=$(echo $(pwd) | grep -oE "(ETICS|CDK|IM)-[0-9]+" | tail -n1)
|
||||
jira_ticket=$(echo $(pwd) | grep -oE "(ETICS|CDK|IM|OM|ITSM|GPMAPS)-[0-9]+" | tail -n1)
|
||||
|
||||
if [ -z $jira_ticket ]; then
|
||||
echo "[ERROR] No Jira Ticket was found in current working directory"
|
||||
exit 1
|
||||
echo "[ERROR] No Jira Ticket was found in current working directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
commit_message=$1
|
||||
|
||||
Reference in New Issue
Block a user