File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ before_deploy: |
46
46
export SLANG_ARCH_NAME=`uname -p`
47
47
export SLANG_TAG=${TRAVIS_TAG#v}
48
48
export SLANG_BINARY_ARCHIVE=slang-${SLANG_TAG}-${SLANG_OS_NAME}-${SLANG_ARCH_NAME}.zip
49
+ export SLANG_BINARY_ARCHIVE_TAR=slang-${SLANG_TAG}-${SLANG_OS_NAME}-${SLANG_ARCH_NAME}.tar.gz
49
50
zip -r ${SLANG_BINARY_ARCHIVE} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h prelude/*.h
51
+ tar -czf ${SLANG_BINARY_ARCHIVE_TAR} bin/*/*/slangc bin/*/*/libslang.so bin/*/*/libslang-glslang.so docs/*.md README.md LICENSE slang.h slang-com-helper.h slang-com-ptr.h slang-tag-version.h prelude/*.h
50
52
51
53
# We are going to deploy to GitHub Releases
52
54
# on a successful build from a tag, but only
@@ -55,7 +57,9 @@ before_deploy: |
55
57
deploy :
56
58
provider : releases
57
59
api_key : " $GITHUB_RELEASE_TOKEN"
58
- file : " $SLANG_BINARY_ARCHIVE"
60
+ file :
61
+ - " $SLANG_BINARY_ARCHIVE"
62
+ - " $SLANG_BINARY_ARCHIVE_TAR"
59
63
skip_cleanup : true
60
64
on :
61
65
condition : " $SLANG_DEPLOY = true"
You can’t perform that action at this time.
0 commit comments