-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automatically upload checksumed taball on release
This commit instructs Travis to upload a compressed tarball with the same contents (essentially) as GitHub's compressed tarball. It also uploads an md5sum for the generated compressed tarball as well. The upload happens on tags, when the Python version is Python 3.4 and the krb5 version is 1.13 (this is intended to stay as the latest published release). To facilitate this, the KRB5_VER environment variable was added to each environment in the test matrix. To ensure that cleanup happens properly, a couple of extra directories were added to the .gitignore file. [rharwood@redhat.com: rebase out KRB5_PPAS usage]
- Loading branch information
1 parent
c4f8cb3
commit af11adf
Showing
3 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ dist | |
gssapi/**/*.c | ||
docs/build | ||
__dont_use_cython__.txt | ||
**/__pycache__ | ||
.eggs |
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,11 @@ | ||
#!/bin/sh | ||
|
||
# clean up | ||
git clean -Xdf | ||
|
||
# make the dir | ||
mkdir ./tag_build | ||
|
||
# create and checksum the tarball | ||
tar -czvf ./tag_build/${TRAVIS_TAG}.tar.gz --exclude='tag_build' --exclude='.git' --transform "s,^\.,python-gssapi-${TRAVIS_TAG}," . | ||
md5sum --binary ./tag_build/${TRAVIS_TAG}.tar.gz > ./tag_build/${TRAVIS_TAG}.md5sum |
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