This repository was archived by the owner on May 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,14 @@ perl:
3737install :
3838- git config --local user.name "Pathogen Informatics CI"
3939-
git config --local user.email "[email protected] " 40+ - export UUID=$(cat /proc/sys/kernel/random/uuid)
41+ - git checkout -b $UUID
4042- export TIMESTAMP_VERSION=$(date -u '+%Y.%m.%d.%H.%M.%S.%3N')
41- - export BRANCH_BASED_TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "v${TIMESTAMP_VERSION}"; else echo "$TRAVIS_BRANCH-${TIMESTAMP_VERSION}"; fi)
42- - export EXISTING_TAG=${TRAVIS_TAG}
43- - export TRAVIS_TAG=${TRAVIS_TAG:-${BRANCH_BASED_TAG}}
43+ - export TRAVIS_TAG=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo "v${TIMESTAMP_VERSION}"; else echo "$TRAVIS_BRANCH-${TIMESTAMP_VERSION}"; fi)
4444- sed -i 's:^version = .*$:version = '"$TIMESTAMP_VERSION"':g' dist.ini
45- - if [ "${EXISTING_TAG}" == "" ]; then git tag $TRAVIS_TAG; fi
46- - if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "${EXISTING_TAG}" == "" ]; then git push -q "https://${GITHUB_OAUTH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}" $TRAVIS_TAG; fi
45+ - git commit -am "Updated the version number to $TIMESTAMP_VERSION"
46+ - git tag $TRAVIS_TAG
47+ - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git push -q "https://${GITHUB_OAUTH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}" $TRAVIS_TAG; fi
4748- dzil authordeps --missing | cpanm --notest
4849- dzil listdeps --missing | cpanm --notest
4950script :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ A collection of modules and scripts for processing and analysing large quantitie
33
44[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPL%20v3-brightgreen.svg )] ( https://github.com/sanger-pathogens/vr-codebase/blob/master/LICENSE )
55
6+ This readme is inaccurate and requires updating
67## Contents
78 * [ Introduction] ( #introduction )
89 * [ Installation] ( #installation )
You can’t perform that action at this time.
0 commit comments