A peer-to-peer stack for code collaboration
Fix make-release. (#593)
Julian Arni34cd53204854
diff --git a/scripts/make-release.sh b/scripts/make-release.shold mode 100644new mode 100755index 0422f69..2898478--- a/scripts/make-release.sh+++ b/scripts/make-release.sh@@ -1,4 +1,4 @@-#!/bin/env bash+#!/usr/bin/env bashVERSION=$1@@ -7,17 +7,6 @@ if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+ ]]; thenecho "Should have format 'x.y.z', where x, y and z are numbers"fi-if [ "$(git rev-parse --abbrev-ref HEAD)" != "master" ]; then- echo "Not on branch 'master'. Aborting."- exit 1-fi--if [ "$(git rev-parse master)" != "$(git rev-parse origin/master)" ]; then- echo "master and origin/master differ. Aborting"- exit 1-fi--if [ "$(git status --untracked-files=no --porcelain)" != " M ChangeLog.md" ]; thenecho "No changes to ChangeLog.md, or other changes found in working directory."echo "Make sure you've updated the changelog, and have no uncommited changes."