Well, turns out one thing needs to know the actual name we give it. Sigh

This commit is contained in:
Matt Godbolt
2021-02-13 16:49:10 -06:00
parent 4fbb52ab70
commit c1a13ce2ac

View File

@@ -100,8 +100,8 @@ gh-dist: dist ## Creates a distribution as if we were running on github
du -ch out/**/*
# Create and set commits for a sentry release if and only if we have the secure token set
# External GitHub PRs etc won't have the variable set.
@[ -z "$(SENTRY_AUTH_TOKEN)" ] || $(NPM) run sentry -- releases new -p compiler-explorer $(RELEASE_BUILD_NUMBER)
@[ -z "$(SENTRY_AUTH_TOKEN)" ] || $(NPM) run sentry -- releases set-commits --auto $(RELEASE_BUILD_NUMBER)
@[ -z "$(SENTRY_AUTH_TOKEN)" ] || $(NPM) run sentry -- releases new -p compiler-explorer gh-$(RELEASE_BUILD_NUMBER)
@[ -z "$(SENTRY_AUTH_TOKEN)" ] || $(NPM) run sentry -- releases set-commits --auto gh-$(RELEASE_BUILD_NUMBER)
install-git-hooks: ## Install git hooks that will ensure code is linted and tests are run before allowing a check in
mkdir -p "$(shell git rev-parse --git-dir)/hooks"