forked from bazelbuild/rules_pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop stripping tree artifact root name in pkg_tar and pkg_zip.
Closes bazelbuild#404 While adding tests to make sure we actually could strip it with pkg_files, I discovered a deficiency in pkg_tar_test. It was not doing a check on the file names, only content and type. Fixing that exposed a pre-existing bug. Fortunately, the problem uncovered is fixed by bazelbuild#554, so the tests should pass once that, followed by this PR are submitted. Allow pkg_files.strip_prefix to work on tree artifact without having to use `renames`. Update to 0.7.0 to reflect that this is sort of a big behavioral change.
- Loading branch information
Showing
6 changed files
with
52 additions
and
32 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
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
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
# limitations under the License. | ||
"""The version of rules_pkg.""" | ||
|
||
version = "0.6.0" | ||
version = "0.7.0" |