APPS-241: - address PR comments

- extract release version and development version from commit message
This commit is contained in:
ehardon
2020-10-07 16:02:26 +03:00
parent c18dda6c06
commit d42e5854a3
6 changed files with 32 additions and 23 deletions

View File

@@ -1,16 +1,12 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
GIT_COMMITTER_NAME=alfresco-build
GIT_COMMITTER_EMAIL=info@alfresco.com
# Use full history for release
git checkout -B "${TRAVIS_BRANCH}"
# Add email to link commits to user
git config user.email "${GIT_COMMITTER_EMAIL}"
git config user.name "${GIT_COMMITTER_NAME}"
if [ -z ${RELEASE_VERSION} ] || [ -z ${DEVELOPMENT_VERSION} ];
then echo "Please provide a Release and Development verison"
exit -1