Merge pull request #3653 from hashicorp/b-clickable-links

clickable links to issues in changelog
This commit is contained in:
Preetha
2017-12-12 17:37:23 -06:00
committed by GitHub
2 changed files with 585 additions and 581 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -198,6 +198,10 @@ vendorfmt:
@echo "--> Formatting vendor/vendor.json"
test -x $(GOPATH)/bin/vendorfmt || go get -u github.com/magiconair/vendorfmt/cmd/vendorfmt
vendorfmt
changelogfmt:
@echo "--> Making [GH-xxxx] references clickable..."
@sed -E 's|([^\[])\[GH-([0-9]+)\]|\1[[GH-\2](https://github.com/hashicorp/nomad/issues/\2)]|g' CHANGELOG.md > changelog.tmp && mv changelog.tmp CHANGELOG.md
.PHONY: dev
dev: GOOS=$(shell go env GOOS)