Skip to content

Commit

Permalink
Merge pull request #168 from alphagov/scripts-fixes
Browse files Browse the repository at this point in the history
Fixes to scripts
  • Loading branch information
quis committed Sep 30, 2015
2 parents b7263e4 + 91b80e3 commit 4abff83
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pages_builder/push_to_github_pages.sh
Expand Up @@ -17,7 +17,6 @@ then
exit 0
fi

current_branch=$(git rev-parse --abbrev-ref HEAD)
build_from=$1
destination_repo=git@github.com:alphagov/digitalmarketplace-frontend-toolkit.git
destination_branch=gh-pages
Expand Down
2 changes: 1 addition & 1 deletion pages_builder/tag_latest_version.sh
Expand Up @@ -8,7 +8,7 @@ git pull origin master
commit=$(git log master --pretty=oneline --abbrev-commit --no-decorate | grep "Bump version to" | head -n1)
sha=$(echo $commit | cut -d ' ' -f1)
version=v$(cat VERSION.txt)
previous_version=$(git tag|tail -n1)
previous_version=$(git describe --abbrev=0 ${version}^)
changes=$(git log --merges --oneline $previous_version..$sha)
echo Commit:\ \ \ $commit
echo Version:\ \ $version
Expand Down

0 comments on commit 4abff83

Please sign in to comment.