-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upload BCR friendly archives GH archives cannot be trusted to be stable * more updates * update * keep sha version
- Loading branch information
1 parent
ba464a4
commit 9b97b64
Showing
3 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ user.bazelrc | |
!bazel-diff-example.sh | ||
.DS_Store | ||
!.bazelversion | ||
archives/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.PHONY: release_source_archive | ||
release_source_archive: version ?= $$(git describe --tags --abbrev=0 2>/dev/null || git rev-parse HEAD) | ||
release_source_archive: | ||
mkdir -p archives | ||
tar --exclude-vcs \ | ||
--exclude=bazel-* \ | ||
--exclude=.github \ | ||
--exclude=archives \ | ||
-zcf "archives/bazel_diff_$(version).tar.gz" . |