mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
APPS-241: - address PR comments
- extract release version and development version from commit message
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user