remove default setup webhost url

This commit is contained in:
Matej Kramny 2017-07-03 17:07:59 +09:00
parent 12fd522b1a
commit 38294dd248
No known key found for this signature in database
GPG Key ID: DA0642A6671F72FD
2 changed files with 2 additions and 6 deletions

View File

@ -58,7 +58,7 @@ HEREDOC
echo "\nTagging release"
git tag -m "v$VERSION release" "v$VERSION"
echo "\nPushing to repository"
git push origin master "v$VERSION"
git push origin master develop "v$VERSION"
echo "\nCreating draft release v$VERSION"
github-release release --draft -u ansible-semaphore -r semaphore -t "v$VERSION" -d "## Special thanks to\n\n## Installation\n\nFollow [wiki/Installation](https://github.com/ansible-semaphore/semaphore/wiki/Installation)\n\n## Changelog"
fi

View File

@ -204,13 +204,9 @@ func (conf *configType) Scan() {
}
conf.TmpPath = path.Clean(conf.TmpPath)
fmt.Print(" > Web root URL (default http://localhost:8010/): ")
fmt.Print(" > Web root URL (optional, example http://localhost:8010/): ")
fmt.Scanln(&conf.WebHost)
if len(conf.WebHost) == 0 {
conf.WebHost = "http://localhost:8010/"
}
var EmailAlertAnswer string
fmt.Print(" > Enable email alerts (y/n, default n): ")
fmt.Scanln(&EmailAlertAnswer)