Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.0.1 #35

Merged
merged 28 commits into from
Dec 20, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make executable
  • Loading branch information
Julien Heller committed Dec 19, 2018
commit 5013f5e81ed39401b5804d15185e55f73f4f7d83
9 changes: 9 additions & 0 deletions scripts/functions.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ setup_git() {
echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
}

check_branch() {
if ! [ "$(git symbolic-ref --short -q HEAD)" = "automate-publish" -a -n "$TRAVIS_TAG" ]; then
echo "Current branch is not "automate-publish"!"
echo "Current branch: $(git symbolic-ref --short -q HEAD)"
return 1
fi
return 0
}

check_version() {
if ! [ "$TRAVIS_TAG" = "$(npm run version --silent)" ]; then
echo "Tag does not match the version in package.json!"
Expand Down
Empty file modified scripts/publish-latest.sh
100644 → 100755
Empty file.