Skip to content

Commit

Permalink
fix(git-version): script updated to get latest git
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasveer authored and Jyasveer Gotta committed Sep 4, 2018
1 parent c5ffad7 commit 9c560e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cico_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function create_merge_PR_vscode {
git pull --tags origin master

# extract version number from latest git tag
new_lsp_server_version=$(git tag -l | sort -V | head -1 | cut -d'v' -f 2)
new_lsp_server_version=$(git tag --sort=-v:refname | head -1 | cut -d'v' -f 2)

# Create PR on fabric8-npm-dependencies and merge it
repo="fabric8-analytics-vscode-extension"
Expand Down
2 changes: 2 additions & 0 deletions cico_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ load_jenkins_vars() {

prep() {
yum -y update
# install latest version of git
yum -y install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
yum -y install epel-release
yum -y install make git gcc-c++ bzip2 fontconfig jq
curl -sL https://rpm.nodesource.com/setup_8.x | sudo -E bash -
Expand Down

0 comments on commit 9c560e0

Please sign in to comment.